EmbeddedMailObjectsCollection::Insert Method (Int32, EmbeddedMailObject^)
.NET Framework (current version)
Inserts an EmbeddedMailObject into the EmbeddedMailObjectsCollection object at the specified index position.
Assembly: System.Web (in System.Web.dll)
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
Available since 2.0
Show: