X509ExtensionCollection.CopyTo(X509Extension[], Int32) X509ExtensionCollection.CopyTo(X509Extension[], Int32) X509ExtensionCollection.CopyTo(X509Extension[], Int32) X509ExtensionCollection.CopyTo(X509Extension[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <System::Security::Cryptography::X509Certificates::X509Extension ^> ^ array, int index);
public void CopyTo (System.Security.Cryptography.X509Certificates.X509Extension[] array, int index);
member this.CopyTo : System.Security.Cryptography.X509Certificates.X509Extension[] * int -> unit
Public Sub CopyTo (array As X509Extension(), index As Integer)

Parameters

array
X509Extension[]

An array of X509Extension objects.

index
Int32 Int32 Int32 Int32

The location in the array at which copying starts.

Exceptions

index is a zero-length string or contains an invalid value.

Applies to