ISharePointCollection<T>.CopyTo Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Copies items from this collection into an array.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Sub CopyTo ( _
array As T(), _
index As Integer _
)
void CopyTo(
T[] array,
int index
)
Parameters
array
Type: array<T[]An array to receive items from the collection.
index
Type: System.Int32An index in the array specifying where to start copying items. To start at the beginning of the array, pass a value of 0.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.