Export (0) Print
Expand All

X509ExtensionCollection.ICollection.CopyTo Method

This API supports the .NET Framework 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)

void ICollection.CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array

An array of X509Extension objects.

index
Type: System.Int32

The location in the array at which copying starts.

Implements

ICollection.CopyTo(Array, Int32)

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft