WebPartDisplayModeCollection::Insert Method (Int32, WebPartDisplayMode^)
.NET Framework (current version)
Inserts a WebPartDisplayMode object into the collection at the specified index position.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
An integer indicating the ordinal position in the collection at which a WebPartDisplayMode should be inserted.
- value
-
Type:
System.Web.UI.WebControls.WebParts::WebPartDisplayMode^
A WebPartDisplayMode to insert into the collection.
If index equals the number of items in the collection, then value is appended to the end of the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: