System.Web.UI.WebControls.HotSpotCollection.Add Method

Appends a specified System.Web.UI.WebControls.HotSpot object to the end of the System.Web.UI.WebControls.HotSpotCollection collection.

Syntax

public int Add (HotSpot spot)

Parameters

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

Returns

The index at which the object was added to the collection.

Remarks

The HotSpotCollection.Add(HotSpot) method adds the specified System.Web.UI.WebControls.HotSpot object to the end of the collection. To add a System.Web.UI.WebControls.HotSpot object to the collection at a specific index location, use 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