SubMenuStyleCollection::Item Property (Int32)
.NET Framework (current version)
Gets a reference to the SubMenuStyle object at the specified index in the SubMenuStyleCollection collection object.
Assembly: System.Web (in System.Web.dll)
public: property SubMenuStyle^ default[ 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.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The index parameter is less than zero or greater than or equal to the Count property value. |
.NET Framework
Available since 2.0
Available since 2.0
Show: