Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Insert Method
Collapse the table of content
Expand the table of content

WebPartDisplayModeCollection.Insert Method

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

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public void Insert(
	int index,
	WebPartDisplayMode value
)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft