CAction Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
===Parameters===
===Parameters===
''ActionDsc''
''ActionDsc''
: String. The action description.  
:Required. String. The action description.  




Line 15: Line 15:
  '''VB.NET'''
  '''VB.NET'''
   
   
  {{APIComment|'The following code creates a new action with the action description pre-defined.}}
  {{APIComment|'The following code creates a new action with a pre-defined description.}}
   {{APIPrefix|Dim}} MyAction {{APIPrefix|As}} cAction({{APIString|"Modify projector lamp design to include correct bulb gas."}})
   {{APIPrefix|Dim}} MyAction {{APIPrefix|As}} cAction({{APIString|"Modify projector lamp design to include correct bulb gas."}})

Revision as of 16:48, 25 August 2015

APIWiki.png


Member of: SynthesisAPI9.cAction


A parameterized constructor for the cAction class. (VB.NET only)

Syntax

cAction(ActionDsc)

Parameters

ActionDsc

Required. String. The action description.


Example

VB.NET

 'The following code creates a new action with a pre-defined description. 
 Dim MyAction As cAction("Modify projector lamp design to include correct bulb gas.")