Item Property
Collapse the table of content
Expand the table of content

SubMenuStyleCollection.Item Property (Int32)


Gets a reference to the SubMenuStyle object at the specified index in the SubMenuStyleCollection collection object.

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

public SubMenuStyle this[
	int i
] { get; set; }


Type: System.Int32

The location of the SubMenuStyle object in the SubMenuStyleCollection collection.

Property Value

Type: System.Web.UI.WebControls.SubMenuStyle

A reference to the SubMenuStyle object.

Exception Condition

The index parameter is less than zero or greater than or equal to the Count property value.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft