CCrew Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cCrew Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CCrew_Class|cCrew]]}}
{{DISPLAYTITLE:cCrew Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CCrew_Class|cCrew]]}}




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


== Syntax ==
== Syntax ==
Line 9: Line 9:
===Parameters===
===Parameters===
''Name''
''Name''
: String. The crew name. (Required)
:Required. String. The crew name.




Line 16: Line 16:
   
   
  {{APIComment|'The following code creates a new crew called "NewCrew".}}
  {{APIComment|'The following code creates a new crew called "NewCrew".}}
   {{APIPrefix|Dim}} MyCrew {{APIPrefix|As}} cCrew({{APIString|"NewCrew"}})
   {{APIPrefix|Dim}} MyCrew {{APIPrefix|As New}} cCrew({{APIString|"NewCrew"}})

Latest revision as of 15:16, 3 August 2017

APIWiki.png


Member of: SynthesisAPI.cCrew


A parameterized constructor for the cCrew class. (.NET only)

Syntax

cCrew(Name)

Parameters

Name

Required. String. The crew name.


Example

VB.NET

 'The following code creates a new crew called "NewCrew". 
 Dim MyCrew As New cCrew("NewCrew")