SubMenuStyleCollection::RemoveAt Method (Int32)
.NET Framework (current version)
Removes the SubMenuStyle object at the specified location.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index location of the SubMenuStyle object to remove from the collection.
| Exception | Condition |
|---|---|
| NotSupportedException | The SubMenuStyleCollection collection is read-only. |
| ArgumentOutOfRangeException |
The OnRemove method is called before the SubMenuStyle object is removed from the collection, and the OnRemoveComplete method is called after the object is removed from the SubMenuStyleCollection collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: