CPool Constructors: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:cPool Constructors}}{{Template:API}}{{Template:APIBreadcrumb | {{DISPLAYTITLE:cPool Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CPool_Class|cPool]]}} | ||
<onlyinclude>A parameterized constructor for the [[CPool Class|cPool]] class. ( | <onlyinclude>A parameterized constructor for the [[CPool Class|cPool]] class. (.NET only)</onlyinclude> | ||
== Syntax == | == Syntax == | ||
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
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")