CPool Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{DISPLAYTITLE:cPool Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.cPool}} <onlyinclude>A parameterized constructor for the cPool cl…')
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cPool Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CPool_Class|cPool]]}}
{{DISPLAYTITLE:cPool Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CPool_Class|cPool]]}}




<onlyinclude>A parameterized constructor for the [[CPool Class|cPool]] class.</onlyinclude>
<onlyinclude>A parameterized constructor for the [[CPool Class|cPool]] class. (.NET only)</onlyinclude>


== Syntax ==
== Syntax ==
Line 9: Line 9:
===Parameters===
===Parameters===
''Name''
''Name''
: String. The name for the new spare part pool. (Required)
:Required. String. The name for the new spare part pool.




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 New}} cPool({{APIString|"NewPool"}})

Latest revision as of 15:12, 3 August 2017

APIWiki.png


Member of: SynthesisAPI.cPool


A parameterized constructor for the cPool class. (.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")