Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OidCollection::ICollection::CopyTo Method (Array^, Int32)

 

Copies the OidCollection object into an array.

Namespace:   System.Security.Cryptography
Assembly:  System (in System.dll)

private:
virtual void CopyTo(
	Array^ array,
	int index
) sealed = ICollection::CopyTo

Parameters

array
Type: System::Array^

The array to copy the OidCollection object to.

index
Type: System::Int32

The location where the copy operation starts.

Exception Condition
ArgumentException

array cannot be a multidimensional array.

-or-

The length of array is an invalid offset length.

ArgumentNullException

array is null.

ArgumentOutOfRangeException

The value of index is out range.

This method copies an OidCollection object into an array at the specified location.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft