CryptographicAttributeObjectCollection.CopyTo 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 the CryptographicAttributeObjectCollection collection to an array of CryptographicAttributeObject objects.
public:
void CopyTo(cli::array <System::Security::Cryptography::CryptographicAttributeObject ^> ^ array, int index);
public void CopyTo (System.Security.Cryptography.CryptographicAttributeObject[] array, int index);
member this.CopyTo : System.Security.Cryptography.CryptographicAttributeObject[] * int -> unit
Public Sub CopyTo (array As CryptographicAttributeObject(), index As Integer)
Parameters
- array
- CryptographicAttributeObject[]
An array of CryptographicAttributeObject objects that the collection is copied to.
- index
- Int32
The zero-based index in array
to which the collection is to be copied.
Exceptions
One of the arguments provided to a method was not valid.
null
was passed to a method that does not accept it as a valid argument.
The value of an argument was outside the allowable range of values as defined by the called method.