The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Validator::ValidateObject Method
.NET Framework (current version)
Determines whether the specified object is valid.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ValidateObject(Object^, ValidationContext^) | Determines whether the specified object is valid using the validation context. |
![]() ![]() | ValidateObject(Object^, ValidationContext^, Boolean) | Determines whether the specified object is valid using the validation context, and a value that specifies whether to validate all properties. |
Show:

