語言

WebPartDisplayModeCollection.Insert(Int32, WebPartDisplayMode) 方法

定義

在指定的索引位置插入物件 WebPartDisplayMode 到集合中。

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

參數

index
Int32

一個整數表示應在集合中插入 a WebPartDisplayMode 的序數位置。

value
WebPartDisplayMode

WebPartDisplayMode A 要插入收藏。

備註

若 index 等於集合中的項目數量,則 value 附加在集合的末尾。

適用於

另請參閱