CopyTo Method (Array, Int32)
Collapse the table of content
Expand the table of content

RecipientInfoCollection.CopyTo Method (Array, Int32)

 

The CopyTo(Array, Int32) method copies the RecipientInfoCollection collection to an array.

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

public void CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array

An Array object to which the RecipientInfoCollection collection is to be copied.

index
Type: System.Int32

The zero-based index in array where the RecipientInfoCollection collection is copied.

Exception Condition
ArgumentException

One of the arguments provided to a method was not valid.

ArgumentNullException

A null reference was passed to a method that does not accept it as a valid argument.

ArgumentOutOfRangeException

The value of an argument was outside the allowable range of values as defined by the called method.

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