X509ChainElementCollection.ICollection.CopyTo Method (Array, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Copies an X509ChainElementCollection object 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 to copy the X509ChainElementCollection object to.

index
Type: System.Int32

The index of array at which to start copying.

Exception Condition
ArgumentOutOfRangeException

The specified index is less than zero, or greater than or equal to the length of the array.

ArgumentNullException

array is null.

ArgumentException

index plus the current count is greater than the length of the array.

.NET Framework
Available since 2.0
Return to top
Show: