System.Web.UI.WebControls.EmbeddedMailObjectsCollection.Insert Method

Inserts an System.Web.UI.WebControls.EmbeddedMailObject into the System.Web.UI.WebControls.EmbeddedMailObjectsCollection object at the specified index position.

Syntax

public void Insert (int index, EmbeddedMailObject value)

Parameters

index
An integer value that indicates the index position at which to insert the System.Web.UI.WebControls.EmbeddedMailObject in the collection.
value
An System.Web.UI.WebControls.EmbeddedMailObject object to insert into the System.Web.UI.WebControls.EmbeddedMailObjectsCollection.

Remarks

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0