DataPagerFieldCollection.OnValidate(Object) Method

Definition

Verifies that the specified object is a DataPagerField object.

protected:
 override void OnValidate(System::Object ^ o);
protected override void OnValidate (object o);
override this.OnValidate : obj -> unit
Protected Overrides Sub OnValidate (o As Object)

Parameters

o
Object

The object to validate.

Exceptions

o is not an instance of the DataPagerField class or of one of its derived classes.

Remarks

This method is called internally to validate an element of the DataPagerFieldCollection collection. The method performs type-checking and verifies that the object specified in the o parameter is not null.

Applies to

See also