DataPagerFieldCollection::OnValidate Method (Object^)
.NET Framework (current version)
Verifies that the specified object is a DataPagerField object.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Parameters
- o
-
Type:
System::Object^
The object to validate.
| Exception | Condition |
|---|---|
| ArgumentNullException | o is null. |
| ArgumentException | o is not an instance of the DataPagerField class or of one of its derived classes. |
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.
.NET Framework
Available since 3.5
Available since 3.5
Show: