MenuItemStyleCollection.Item[Int32] Property

Definition

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

public:
 property System::Web::UI::WebControls::MenuItemStyle ^ default[int] { System::Web::UI::WebControls::MenuItemStyle ^ get(int i); void set(int i, System::Web::UI::WebControls::MenuItemStyle ^ value); };
public System.Web.UI.WebControls.MenuItemStyle this[int i] { get; set; }
member this.Item(int) : System.Web.UI.WebControls.MenuItemStyle with get, set
Default Public Property Item(i As Integer) As MenuItemStyle

Parameters

i
Int32

The zero-based index of the MenuItemStyle to retrieve.

Property Value

The MenuItemStyle at the specified index in the collection.

Remarks

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.

Applies to

See also