CAction Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{DISPLAYTITLE:cAction Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.cAction}} <onlyinclude>A parameterized constructor for the [[CAction Class|cA…')
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cAction Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CAction_Class|cAction]]}}
{{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 the action description pre-defined.}}
  {{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

APIWiki.png


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