다음을 통해 공유


SPWorkflowTaskCollection.CopyTo Method

Copies the workflow tasks to the specified SPWorkflowTask array, starting at index.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)> _
Public Sub CopyTo ( _
    array As SPWorkflowTask(), _
    index As Integer _
)
'Usage
Dim instance As SPWorkflowTaskCollection
Dim array As SPWorkflowTask()
Dim index As Integer

instance.CopyTo(array, index)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)]
public void CopyTo(
    SPWorkflowTask[] array,
    int index
)

Parameters

  • array
    Type: []

    A destination to which the collection of the workflow tasks are copied.

  • index
    Type: System.Int32

    The zero-based index in array at which copying begins.

Remarks

This method copies the collection of the workflow tasks to the specified SPWorkflowTask array, starting at a particular array index.

See Also

Reference

SPWorkflowTaskCollection Class

SPWorkflowTaskCollection Members

Microsoft.SharePoint.Workflow Namespace