Edit

Share via


SignerInfoCollection.CopyTo Method

Definition

The CopyTo method copies the SignerInfoCollection collection to an array.

Overloads

CopyTo(Array, Int32)

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

CopyTo(SignerInfo[], Int32)

The CopyTo(SignerInfo[], Int32) method copies the SignerInfoCollection collection to a SignerInfo array.

CopyTo(Array, Int32)

Source:
SignerInfoCollection.cs
Source:
SignerInfoCollection.cs
Source:
SignerInfoCollection.cs
Source:
SignerInfoCollection.cs

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

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

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

index
Int32

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

Implements

Exceptions

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

A null reference 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.

Applies to

CopyTo(SignerInfo[], Int32)

Source:
SignerInfoCollection.cs
Source:
SignerInfoCollection.cs
Source:
SignerInfoCollection.cs
Source:
SignerInfoCollection.cs

The CopyTo(SignerInfo[], Int32) method copies the SignerInfoCollection collection to a SignerInfo array.

public:
 void CopyTo(cli::array <System::Security::Cryptography::Pkcs::SignerInfo ^> ^ array, int index);
public void CopyTo (System.Security.Cryptography.Pkcs.SignerInfo[] array, int index);
member this.CopyTo : System.Security.Cryptography.Pkcs.SignerInfo[] * int -> unit
Public Sub CopyTo (array As SignerInfo(), index As Integer)

Parameters

array
SignerInfo[]

An array of SignerInfo objects where the SignerInfoCollection collection is to be copied.

index
Int32

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

Exceptions

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

A null reference 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.

Applies to