X509ExtensionCollection.CopyTo Method (X509Extension[], Int32)

 

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

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

public void CopyTo(
	X509Extension[] array,
	int index
)

Parameters

array
Type: System.Security.Cryptography.X509Certificates.X509Extension[]

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: