CCrew Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
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"}})

Revision as of 18:07, 5 October 2015

APIWiki.png


Member of: SynthesisAPI9.cCrew


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