Export (0) Print
Expand All

Validator Methods

The Validator type exposes the following members.

  NameDescription
Public method Static member TryValidateObject(Object, ValidationContext, ICollection<ValidationResult>) Determines whether the specified object is valid using the validation context and validation results collection.
Public method Static member 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 TryValidateProperty Validates the property.
Public method Static member TryValidateValue Returns a value that indicates whether the specified value is valid with the specified attributes.
Public method Static member ValidateObject(Object, ValidationContext) Determines whether the specified object is valid using the validation context.
Public method Static member 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 ValidateProperty Validates the property.
Public method Static member ValidateValue Validates the specified attributes.
Top

Community Additions

ADD
Show:
© 2015 Microsoft