System.Web.UI.WebControls.ParameterCollection.OnValidate Method

Performs additional custom processes when validating a value.

Syntax

protected override void OnValidate (object o)

Parameters

o
The object being validated.

Remarks

The ParameterCollection.OnValidate(object) method determines whether the object specified in the o parameter is a System.Web.UI.WebControls.Parameter instance. If not, it throws an ArgumentException exception.

Requirements

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