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 命名空間