Uredi

Deli z drugimi prek


WebPartDisplayModeCollection.Insert(Int32, WebPartDisplayMode) Method

Definition

Inserts a WebPartDisplayMode object into the collection at the specified index position.

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)

Parameters

index
Int32

An integer indicating the ordinal position in the collection at which a WebPartDisplayMode should be inserted.

value
WebPartDisplayMode

A WebPartDisplayMode to insert into the collection.

Remarks

If index equals the number of items in the collection, then value is appended to the end of the collection.

Applies to

See also