EmbeddedMailObjectsCollection.CopyTo(EmbeddedMailObject[], Int32) 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 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.