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::Insert Method (Int32, EmbeddedMailObject^)

 

Inserts an EmbeddedMailObject into the EmbeddedMailObjectsCollection object at the specified index position.

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

public:
void Insert(
	int index,
	EmbeddedMailObject^ value
)

Parameters

index
Type: System::Int32

An integer value that indicates the index position at which to insert the EmbeddedMailObject in the collection.

value
Type: System.Web.UI.WebControls::EmbeddedMailObject^

An EmbeddedMailObject object to insert into the EmbeddedMailObjectsCollection.

Exception Condition
ArgumentOutOfRangeException

The specified index is out of range of the collection.

ArgumentNullException

The specified value is null.

If index is 0, value is added to the beginning of the EmbeddedMailObjectsCollection. If index equals the number of items in the EmbeddedMailObjectsCollection, value is appended to the end.

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