CAction 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 action with a pre-defined description.}}
  {{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 New}} cAction({{APIString|"Modify projector lamp design to include correct bulb gas."}})

Revision as of 18:07, 5 October 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 New cAction("Modify projector lamp design to include correct bulb gas.")