SPRelatedFieldCollection.CopyTo Method
A strongly-typed SPRelatedField implementation of CopyTo.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)]
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.Int32The zero-based index in the array where copying begins.
See Also
Reference
SPRelatedFieldCollection Class