Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Validator Methods

Validator Methods

The Validator type exposes the following members.

  Name Description
Public method Static member Supported by Portable Class Library TryValidateObject(Object, ValidationContext, ICollection<ValidationResult>) Determines whether the specified object is valid using the validation context and validation results collection.
Public method Static member Supported by Portable Class Library TryValidateObject(Object, ValidationContext, ICollection<ValidationResult>, Boolean) Determines whether the specified object is valid using the validation context, validation results collection, and a value that specifies whether to validate all properties.
Public method Static member Supported by Portable Class Library TryValidateProperty Validates the property.
Public method Static member Supported by Portable Class Library TryValidateValue Returns a value that indicates whether the specified value is valid with the specified attributes.
Public method Static member Supported by Portable Class Library ValidateObject(Object, ValidationContext) Determines whether the specified object is valid using the validation context.
Public method Static member Supported by Portable Class Library 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.
Public method Static member Supported by Portable Class Library ValidateProperty Validates the property.
Public method Static member Supported by Portable Class Library ValidateValue Validates the specified attributes.
Top
Show:
© 2015 Microsoft