CScheduledTask Constructors: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:cScheduledTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb | {{DISPLAYTITLE:cScheduledTask Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CScheduledTask_Class|cScheduledTask]]}} | ||
<onlyinclude>A parameterized constructor for the [[CScheduledTask Class|cScheduledTask]] class. ( | <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. 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
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")