CAction Constructors: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) 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
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.")