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 安全性

请参见

参考

ISharePointCollection<T> 接口

Microsoft.VisualStudio.SharePoint 命名空间