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
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.