OidCollection.ICollection.CopyTo Method (Array, Int32)

 

Copies the OidCollection object into an array.

Namespace:   System.Security.Cryptography
Assembly:  System (in System.dll)

void ICollection.CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array

The array to copy the OidCollection object to.

index
Type: System.Int32

The location where the copy operation starts.

Exception Condition
ArgumentException

array cannot be a multidimensional array.

-or-

The length of array is an invalid offset length.

ArgumentNullException

array is null.

ArgumentOutOfRangeException

The value of index is out range.

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

.NET Framework
Available since 2.0
Return to top
Show: