System.Web.UI.WebControls.SubMenuStyleCollection.RemoveAt Method

Removes the System.Web.UI.WebControls.SubMenuStyle object at the specified location.

Syntax

public void RemoveAt (int index)

Parameters

index
The zero-based index location of the System.Web.UI.WebControls.SubMenuStyle object to remove from the collection.

Remarks

The System.Web.UI.StateManagedCollection.OnRemove(int, object) method is called before the System.Web.UI.WebControls.SubMenuStyle object is removed from the collection, and the System.Web.UI.StateManagedCollection.OnRemoveComplete(int, object) method is called after the object is removed from the System.Web.UI.WebControls.SubMenuStyleCollection collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0