Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509ExtensionCollection::CopyTo Method (array<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(
	array<X509Extension^>^ array,
	int index
)

Parameters

array
Type: array<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:
© 2017 Microsoft