CCorrectiveTask Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cCorrectiveTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CCorrectiveTask_Class|cCorrectiveTask]]}}
{{DISPLAYTITLE:cCorrectiveTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CCorrectiveTask_Class|cCorrectiveTask]]}}




<onlyinclude>A parameterized constructor for the [[CCorrectiveTask Class|cCorrectiveTask]] class. (VB.NET only)</onlyinclude>
<onlyinclude>A parameterized constructor for the [[CCorrectiveTask Class|cCorrectiveTask]] class. (.NET only)</onlyinclude>


== Syntax ==
== Syntax ==
Line 9: Line 9:
===Parameters===
===Parameters===
''Name''
''Name''
: String. The name for the new corrective task. (Required)
:Required. String. The name for the new corrective task.




Line 16: Line 16:
   
   
  {{APIComment|'The following code creates a new corrective task called "NewCTask".}}
  {{APIComment|'The following code creates a new corrective task called "NewCTask".}}
   {{APIPrefix|Dim}} CTask {{APIPrefix|As}} cCorrectiveTask({{APIString|"NewCTask"}})
   {{APIPrefix|Dim}} CTask {{APIPrefix|As New}} cCorrectiveTask({{APIString|"NewCTask"}})

Latest revision as of 15:12, 3 August 2017

APIWiki.png


Member of: SynthesisAPI.cCorrectiveTask


A parameterized constructor for the cCorrectiveTask class. (.NET only)

Syntax

cCorrectiveTask(Name)

Parameters

Name

Required. String. The name for the new corrective task.


Example

VB.NET

 'The following code creates a new corrective task called "NewCTask". 
 Dim CTask As New cCorrectiveTask("NewCTask")