将附件集合中的元素复制到指定索引处开始的一维数组。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Private Sub CopyTo ( _
array As Array, _
index As Integer _
) Implements ICollection.CopyTo
用法
Dim instance As SPAttachmentCollection
Dim array As Array
Dim index As Integer
CType(instance, ICollection).CopyTo(array, _
index)
void ICollection.CopyTo(
Array array,
int index
)
参数
array
类型:System.Array要将该附件集合复制到数组。
index
类型:System.Int32开始在复制的索引。
实现
ICollection.CopyTo(Array, Int32)
备注
此成员是成员显式接口实现。仅当SPAttachmentCollection实例被强制转换为ICollection接口时,才可以使用它。