X509ChainElementCollection::ICollection::CopyTo Method (Array^, Int32)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Copies an X509ChainElementCollection object into an array, starting at the specified index.
Assembly: System (in System.dll)
Parameters
- array
-
Type:
System::Array^
An array to copy the X509ChainElementCollection object to.
- index
-
Type:
System::Int32
The index of array at which to start copying.
Implements
ICollection::CopyTo(Array^, Int32)| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified index is less than zero, or greater than or equal to the length of the array. |
| ArgumentNullException | array is null. |
| ArgumentException | index plus the current count is greater than the length of the array. |
.NET Framework
Available since 2.0
Available since 2.0
Show: