แก้ไข

แชร์ผ่าน


OidCollection.ICollection.CopyTo(Array, Int32) Method

Definition

Copies the OidCollection object into an array.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

Parameters

array
Array

The array to copy the OidCollection object to.

index
Int32

The location where the copy operation starts.

Implements

Exceptions

array cannot be a multidimensional array.

-or-

The length of array is an invalid offset length.

array is null.

The value of index is out range.

Remarks

This method copies an OidCollection object into an array at the specified location.

Applies to