System.Web.UI.WebControls.HotSpotCollection Class

Represents a collection of System.Web.UI.WebControls.HotSpot objects inside an System.Web.UI.WebControls.ImageMap control. This class cannot be inherited.

See Also: HotSpotCollection Members

Syntax

[System.ComponentModel.Editor("System.Web.UI.Design.WebControls.HotSpotCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed class HotSpotCollection : System.Web.UI.StateManagedCollection

Remarks

The System.Web.UI.WebControls.HotSpotCollection class represents a collection that enables an System.Web.UI.WebControls.ImageMap control to maintain a list of the System.Web.UI.WebControls.HotSpot objects it contains.

Use the HotSpotCollection.Add(HotSpot) method to add a specified System.Web.UI.WebControls.HotSpot object to the collection at the end of an ordinal index array. Use the HotSpotCollection.Insert(int, HotSpot) method to add a System.Web.UI.WebControls.HotSpot object to the collection at a specified index location. Use the HotSpotCollection.Item(int) indexer to directly access a System.Web.UI.WebControls.HotSpot object in the collection at a specified index, using simple array notation.

Use the HotSpotCollection.Remove(HotSpot) method to remove a System.Web.UI.WebControls.HotSpot object from the end of the collection. Use the HotSpotCollection.RemoveAt(int) method to remove a System.Web.UI.WebControls.HotSpot object from a specified index location.

Requirements

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