SubMenuStyleCollection.Item Property (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 Property Item (
	i As Integer
) As SubMenuStyle


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