Difference between revisions of "CPool Constructors"

From ReliaWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
  '''VB.NET'''
 
  '''VB.NET'''
 
   
 
   
  {{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}} cPool({{APIString|"NewPool"}})

Revision as of 18:48, 2 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 cPool("NewPool")