CScheduledTask.GetCrewIDs Method: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) mNo edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
<onlyinclude>Gets an array containing the numeric IDs of the crews assigned to the task. (Alternatively, VB.NET users can use the CrewIDs() property to get or set the crew IDs.)</onlyinclude> | <onlyinclude>Gets an array containing the numeric IDs of the crews assigned to the task. '''Long'''. (Alternatively, VB.NET users can use the CrewIDs() property to get or set the crew IDs.)</onlyinclude> | ||
== Syntax == | == Syntax == |
Revision as of 18:43, 8 October 2015
Member of: SynthesisAPI10.cScheduledTask
Gets an array containing the numeric IDs of the crews assigned to the task. Long. (Alternatively, VB.NET users can use the CrewIDs() property to get or set the crew IDs.)
Syntax
.GetCrewIDs(arr())
Parameters
arr()
- Required. Long. An array of the numeric IDs of the crews assigned to the task.
Example
VBA ... 'Add code to get an existing scheduled task. Dim aTask As cScheduledTask ... 'Get the IDs of the crews assigned to the task. Dim myarray() As Long Call aTask.GetCrewIDs(myarray) 'Sample output. Dim i As Integer Dim upper As Integer Dim lower As Integer lower = LBound(myarray) upper = UBound(myarray) For i = lower To upper MsgBox (myarray(i)) Next i