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

整數,表示 WebPartDisplayMode 應插入至集合中的序數位置。

value
WebPartDisplayMode

要插入至集合的 WebPartDisplayMode

備註

如果 index 等於集合中的專案數,則會 value 附加至集合結尾。

適用於

另請參閱