IReadOnlyCollection<T>.CopyTo 方法
Copies the elements of the collection to the specified array, starting at a particular array index.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Sub CopyTo ( _
array As T(), _
arrayIndex As Integer _
)
用法
Dim instance As IReadOnlyCollection
Dim array As T()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
void CopyTo(
T[] array,
int arrayIndex
)
void CopyTo(
array<T>^ array,
int arrayIndex
)
abstract CopyTo :
array:'T[] *
arrayIndex:int -> unit
function CopyTo(
array : T[],
arrayIndex : int
)
参数
- array
类型:array<T[]
The one-dimensional zero-based index array that is the destination of the elements to copy from the collection.
- arrayIndex
类型:System.Int32
The position in the array at which the copying of the first element starts.