Edit

Share via


X509ExtensionCollection.ICollection.CopyTo(Array, Int32) Method

Definition

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

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo(Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

Parameters

array
Array

An array of X509Extension objects.

index
Int32

The ___location in the array at which copying starts.

Implements

Exceptions

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

index is null.

index specifies a value that is not in the range of the array.

Applies to