SPWorkflowCollection.CopyTo method

Copies the elements of the SPWorkflowCollection to a SPWorkflow array, starting at the specified array index.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Parameters

  • index
    Type: System.Int32

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

Remarks

This method copies the elements of the SPWorkflowCollection to a SPWorkflow() array.

See also

Reference

SPWorkflowCollection class

SPWorkflowCollection members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview