X509ChainElementCollection.ICollection.CopyTo(Array, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.