SubclassTypeValidator::Validate Method (Object^)
.NET Framework (current version)
Determines whether the value of an object is valid.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- value
-
Type:
System::Object^
The object value.
| Exception | Condition |
|---|---|
| ArgumentException | value is not of a Type that can be derived from baseClass as defined in the constructor. |
When an instance of the SubclassTypeValidator class is created, the base class is provided and used as evaluation criteria. The object to validate is passed as a parameter of the Validate method. This method performs the validation check between the base class and the parameter object.
.NET Framework
Available since 2.0
Available since 2.0
Show: