DataPagerFieldCollection.OnValidate(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 null
.
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
.