This documentation is archived and is not being maintained.
ValidationAttribute.IsValid Method
Visual Studio 2008
Determines whether the specified value of the object is valid.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
Parameters
- value
- Type: System.Object
The value of the specified validation object on which the ValidationAttribute is declared.
If you create a derived class from the ValidationAttribute class, you must implement the validation logic in this method.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: