편집

다음을 통해 공유


EmbeddedMailObjectsCollection.Insert(Int32, EmbeddedMailObject) Method

Definition

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

public:
 void Insert(int index, System::Web::UI::WebControls::EmbeddedMailObject ^ value);
public void Insert (int index, System.Web.UI.WebControls.EmbeddedMailObject value);
member this.Insert : int * System.Web.UI.WebControls.EmbeddedMailObject -> unit
Public Sub Insert (index As Integer, value As EmbeddedMailObject)

Parameters

index
Int32

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

Exceptions

The specified index is out of range of the collection.

The specified value is null.

Remarks

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.

Applies to

See also