Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: No
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
array
Type: []The one-dimensional SPWorkflow array that is the destination of the elements copied from SPWorkflowCollection.
index
Type: System.Int32The 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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation