CCorrectiveTask Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
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"}})

Revision as of 18:07, 5 October 2015

APIWiki.png


Member of: SynthesisAPI9.cCorrectiveTask


A parameterized constructor for the cCorrectiveTask class. (VB.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")