CPool Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
   
   
  {{APIComment|'The following code creates a new spare part pool called "NewPool".}}
  {{APIComment|'The following code creates a new spare part pool called "NewPool".}}
   {{APIPrefix|Dim}} APool {{APIPrefix|As}} cPool({{APIString|"NewPool"}})
   {{APIPrefix|Dim}} APool {{APIPrefix|As New}} cPool({{APIString|"NewPool"}})

Revision as of 16:16, 5 October 2015

APIWiki.png


Member of: SynthesisAPI9.cPool


A parameterized constructor for the cPool class. (VB.NET only)

Syntax

cPool(Name)

Parameters

Name

Required. String. The name for the new spare part pool.


Example

VB.NET

 'The following code creates a new spare part pool called "NewPool". 
 Dim APool As New cPool("NewPool")