Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EmbeddedMailObjectsCollection::CopyTo Method (array<EmbeddedMailObject^>^, Int32)

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
void CopyTo(
	array<EmbeddedMailObject^>^ array,
	int index
)

Parameters

array
Type: array<System.Web.UI.WebControls::EmbeddedMailObject^>^

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

index
Type: System::Int32

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

Exception Condition
ArgumentNullException

The specified array is null.

ArgumentOutOfRangeException

The specified index is out of range of the collection.

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