Bewerken

Delen via


EmbeddedMailObjectsCollection.CopyTo(EmbeddedMailObject[], Int32) Method

Definition

Copies the collection objects to a one-dimensional Array instance beginning at the specified index in the array.

public:
 void CopyTo(cli::array <System::Web::UI::WebControls::EmbeddedMailObject ^> ^ array, int index);
public void CopyTo (System.Web.UI.WebControls.EmbeddedMailObject[] array, int index);
member this.CopyTo : System.Web.UI.WebControls.EmbeddedMailObject[] * int -> unit
Public Sub CopyTo (array As EmbeddedMailObject(), index As Integer)

Parameters

array
EmbeddedMailObject[]

The one-dimensional Array is the destination of the elements copied from the current EmbeddedMailObjectsCollection. The array must have zero-based indexing.

index
Int32

The zero-based index in array at which copying begins.

Exceptions

The specified array is null.

The specified index is out of range of the collection.

Applies to

See also