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 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 | {{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
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.")