ISharePointCollection<T>.CopyTo 方法
将此集合中的项复制到数组中。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Sub CopyTo ( _
array As T(), _
index As Integer _
)
void CopyTo(
T[] array,
int index
)
参数
- array
类型:array<T[]
用于接收集合中的项的数组。
- index
类型:System.Int32
指定复制项的起始位置的数组索引。若要从数组开头开始复制,请传递值 0。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。