Bewerken

Share via


X509ChainElementCollection.ICollection.CopyTo(Array, Int32) Method

Definition

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

index
Int32

The index of array at which to start copying.

Implements

Exceptions

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

array is null.

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

Applies to