WebPartDisplayModeCollection.Insert(Int32, WebPartDisplayMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.