SPRelatedFieldCollection.CopyTo method

A strongly-typed SPRelatedField implementation of CopyTo.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As SPRelatedField(), _
    index As Integer _
)
'Usage
Dim instance As SPRelatedFieldCollection
Dim array As SPRelatedField()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPRelatedField[] array,
    int index
)

Parameters

  • array
    Type: []

    The destination array of the elements copied from the collection. The array must have zero-based indexing.

  • index
    Type: System.Int32

    The zero-based index in the array where copying begins.

See also

Reference

SPRelatedFieldCollection class

SPRelatedFieldCollection members

Microsoft.SharePoint namespace