MenuItemStyleCollection.Item Property (Int32)

 

Gets the MenuItemStyle object at the specified index from the collection.

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

Public Property Item (
	i As Integer
) As MenuItemStyle

Parameters

i
Type: System.Int32

The zero-based index of the MenuItemStyle to retrieve.

Property Value

Type: System.Web.UI.WebControls.MenuItemStyle

The MenuItemStyle at the specified index in the collection.

Use this indexer to access a MenuItemStyle object from the collection at the specified index using array notation. The indexer allows you to access, modify, or replace a MenuItemStyle object in the collection directly.

.NET Framework
Available since 2.0
Return to top
Show: