Windows apps
Collapse the table of content
Expand the table of content
Information
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

 

Determines whether the specified object is valid.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticValidateObject(Object^, ValidationContext^)

Determines whether the specified object is valid using the validation context.

System_CAPS_pubmethodSystem_CAPS_staticValidateObject(Object^, ValidationContext^, Boolean)

Determines whether the specified object is valid using the validation context, and a value that specifies whether to validate all properties.

Return to top
Show:
© 2017 Microsoft