共用方式為


SPUserCustomActionCollection.CopyTo method

陣列,指定索引處開始複製集合的項目。這個方法會傳回強型別陣列為集合的ICollection.CopyTo(Array, Int32)的替代實作。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub CopyTo ( _
    array As SPUserCustomAction(), _
    index As Integer _
)
'用途
Dim instance As SPUserCustomActionCollection
Dim array As SPUserCustomAction()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPUserCustomAction[] array,
    int index
)

參數

  • array
    Type: []

    從集合複製之項目的端一維陣列。陣列必須有以零起始的索引。

  • index
    Type: System.Int32

    在複製陣列中以零起始的索引開始的位置。

請參閱

參照

SPUserCustomActionCollection class

SPUserCustomActionCollection members

Microsoft.SharePoint namespace