Export (0) Print
Expand All

SubMenuStyleCollection::Item Property

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 SubMenuStyle^ Item[int i] {
	SubMenuStyle^ get (int i);
	void set (int i, SubMenuStyle^ value);
}

Parameters

i
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.

ExceptionCondition
ArgumentOutOfRangeException

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

.NET Framework

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