EmbeddedMailObjectsCollection.Insert(Int32, EmbeddedMailObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的索引位置將 插入物件EmbeddedMailObjectEmbeddedMailObjectsCollection中。
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)
參數
- index
- Int32
一個整數值,表示在集合中插入 的 EmbeddedMailObject 索引位置。
- value
- EmbeddedMailObject
一個EmbeddedMailObject要插入 . 的物件。EmbeddedMailObjectsCollection
例外狀況
指定的 index 不在集合範圍內。
指定的 value 為 null。
備註
若 index 為 0,則 value 會加到該 EmbeddedMailObjectsCollection的開頭。 若 index 等於 中 EmbeddedMailObjectsCollection項目數量, value 則會附加在末尾。