将该集合的元素复制到一个数组中指定索引处开始。此方法是ICollection.CopyTo(Array, Int32)返回强类型数组作为集合的其他实现。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:[]一维数组,它是从集合复制的元素的目标。数组必须具有从零开始的索引。
index
类型:System.Int32开始复制的数组中从零开始的索引。
另请参阅
引用
SPUserCustomActionCollection 类