Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AsnEncodedDataCollection.ICollection.CopyTo Method

Copies the AsnEncodedDataCollection 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 that the AsnEncodedDataCollection object is to be copied into.

index
Type: System.Int32

The location where the copy operation starts.

Implements

ICollection.CopyTo(Array, Int32)

ExceptionCondition
ArgumentException

array is a multidimensional array, which is not supported by this method.

ArgumentException

The length for index is invalid.

ArgumentNullException

array is null.

ArgumentOutOfRangeException

The length for index is out of range.

This method copies the contents of an AsnEncodedDataCollection object into an array. The copying begins at the index location specified.

.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