System.Web.UI.WebControls.HotSpotCollection.Remove Method

Removes the specified System.Web.UI.WebControls.HotSpot object from the System.Web.UI.WebControls.HotSpotCollection collection.

Syntax

public void Remove (HotSpot spot)

Parameters

spot
The System.Web.UI.WebControls.HotSpot object to remove from the collection.

Remarks

The HotSpotCollection.Remove(HotSpot) method removes the specified System.Web.UI.WebControls.HotSpot object from the collection. To remove a System.Web.UI.WebControls.HotSpot object from the collection at a specified index location, use the HotSpotCollection.RemoveAt(int) method.

To add new System.Web.UI.WebControls.HotSpot objects to the collection, use the HotSpotCollection.Add(HotSpot) or the HotSpotCollection.Insert(int, HotSpot) method.

Requirements

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