CAction Constructors: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) (Created page with '{{DISPLAYTITLE:cAction Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.cAction}} <onlyinclude>A parameterized constructor for the [[CAction Class|cA…') |
Kate Racaza (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:cAction Constructors}}{{Template:API}}{{Template:APIBreadcrumb | {{DISPLAYTITLE:cAction Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CAction_Class|cAction]]}} | ||
<onlyinclude>A parameterized constructor for the [[CAction Class|cAction]] class.</onlyinclude> | <onlyinclude>A parameterized constructor for the [[CAction Class|cAction]] class. (.NET only)</onlyinclude> | ||
== Syntax == | == Syntax == | ||
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("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."}}) |
Latest revision as of 15:15, 3 August 2017
Member of: SynthesisAPI.cAction
A parameterized constructor for the cAction class. (.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.")