CScheduledTask Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{DISPLAYTITLE:cScheduledTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.cScheduledTask}} <onlyinclude>A parameterized constructor for t…')
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cScheduledTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CScheduledTask_Class|cScheduledTask]]}}
{{DISPLAYTITLE:cScheduledTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CScheduledTask_Class|cScheduledTask]]}}




<onlyinclude>A parameterized constructor for the [[CScheduledTask Class|cScheduledTask]] class.</onlyinclude>
<onlyinclude>A parameterized constructor for the [[CScheduledTask Class|cScheduledTask]] class. (.NET only)</onlyinclude>


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




Line 16: Line 16:
   
   
  {{APIComment|'The following code creates a new scheduled task called "NewSTask".}}
  {{APIComment|'The following code creates a new scheduled task called "NewSTask".}}
   {{APIPrefix|Dim}} STask {{APIPrefix|As}} cScheduledTask({{APIString|"NewSTask"}})
   {{APIPrefix|Dim}} STask {{APIPrefix|As New}} cScheduledTask({{APIString|"NewSTask"}})

Latest revision as of 15:14, 3 August 2017

APIWiki.png


Member of: SynthesisAPI.cScheduledTask


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

Syntax

cScheduledTask(Name)

Parameters

Name

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


Example

VB.NET

 'The following code creates a new scheduled task called "NewSTask". 
 Dim STask As New cScheduledTask("NewSTask")