System.Web.UI.WebControls.HotSpotCollection.OnValidate Method

Checks the specified object to determine whether it is a valid type derived from the System.Web.UI.WebControls.HotSpot class.

Syntax

protected override void OnValidate (object o)

Parameters

o
The object to validate.

Remarks

This method checks the specified object to determine whether it is a valid type derived from the System.Web.UI.WebControls.HotSpot class. Only an object of type System.Web.UI.WebControls.CircleHotSpot, System.Web.UI.WebControls.RectangleHotSpot, or System.Web.UI.WebControls.PolygonHotSpot is considered a valid type.

Note:

This method is used only by control developers.

Requirements

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