X509ExtensionCollection::ICollection::CopyTo Method (Array^, Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Copies the collection into an array starting at the specified index.

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

private:
virtual void CopyTo(
	Array^ array,
	int index
) sealed = ICollection::CopyTo

Parameters

array
Type: System::Array^

An array of X509Extension objects.

index
Type: System::Int32

The location in the array at which copying starts.

Exception Condition
ArgumentException

index is a zero-length string or contains an invalid value.

ArgumentNullException

index is null.

ArgumentOutOfRangeException

index specifies a value that is not in the range of the array.

.NET Framework
Available since 2.0
Return to top
Show: