CmsRecipientCollection.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 CmsRecipientCollection collection to an array.
Overloads
CopyTo(Array, Int32) |
The CopyTo(Array, Int32) method copies the CmsRecipientCollection collection to an array. |
CopyTo(CmsRecipient[], Int32) |
The CopyTo(CmsRecipient[], Int32) method copies the CmsRecipientCollection collection to a CmsRecipient array. |
CopyTo(Array, Int32)
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
The CopyTo(Array, Int32) method copies the CmsRecipientCollection 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 CmsRecipientCollection collection is to be copied.
- index
- Int32
The zero-based index in array
where the CmsRecipientCollection collection is copied.
Implements
Exceptions
array
is not large enough to hold the specified elements.
-or-
array
does not contain the proper number of dimensions.
array
is null
.
index
is outside the range of elements in array
.
See also
Applies to
CopyTo(CmsRecipient[], Int32)
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
- Source:
- CmsRecipientCollection.cs
The CopyTo(CmsRecipient[], Int32) method copies the CmsRecipientCollection collection to a CmsRecipient array.
public:
void CopyTo(cli::array <System::Security::Cryptography::Pkcs::CmsRecipient ^> ^ array, int index);
public void CopyTo (System.Security.Cryptography.Pkcs.CmsRecipient[] array, int index);
member this.CopyTo : System.Security.Cryptography.Pkcs.CmsRecipient[] * int -> unit
Public Sub CopyTo (array As CmsRecipient(), index As Integer)
Parameters
- array
- CmsRecipient[]
An array of CmsRecipient objects where the CmsRecipientCollection collection is to be copied.
- index
- Int32
The zero-based index for the array of CmsRecipient objects in array
to which the CmsRecipientCollection collection is copied.
Exceptions
array
is not large enough to hold the specified elements.
-or-
array
does not contain the proper number of dimensions.
array
is null
.
index
is outside the range of elements in array
.