Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ValidationResult Members

Represents the result returned by the ValidationRule.Validate method that indicates whether the checked value passed the ValidationRule.

The ValidationResult type exposes the following members.

  NameDescription
Public method ValidationResult Initializes a new instance of the ValidationResult class.
Top
  NameDescription
Public method Equals Compares the specified instance and the current instance of ValidationResult for value equality. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this ValidationResult. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public operator Static member Equality Compares two ValidationResult objects for value equality.
Public operator Static member Inequality Compares two ValidationResult objects for value inequality.
Top
  NameDescription
Public property ErrorContent Gets an object that provides additional information about the invalidity.
Public property IsValid Gets a value that indicates whether the value checked against the ValidationRule is valid.
Public property Static member ValidResult Gets a valid instance of ValidationResult.
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.