SPUserCustomActionCollection.CopyTo method
Copies the elements of the collection to an array, starting at the specified index. This method is an alternative implementation of ICollection.CopyTo(Array, Int32) that returns the collection as a strongly typed array.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As SPUserCustomAction(), _
index As Integer _
)
'Usage
Dim instance As SPUserCustomActionCollection
Dim array As SPUserCustomAction()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
SPUserCustomAction[] array,
int index
)
Parameters
array
Type: []The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
index
Type: System.Int32The zero-based index in the array at which copying begins.
See also
Reference
SPUserCustomActionCollection class