ValidationRule Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy


Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)


Public MustInherit Class ValidationRule
public abstract class ValidationRule
public ref class ValidationRule abstract
type ValidationRule =  class end
public abstract class ValidationRule

The ValidationRule type exposes the following members.


  Name Description
Protected method ValidationRule



  Name Description
Public property Error A descriptive text about the error. This property is only applicable if the rule is broken.
Public property PropertyName



  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from 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 (Overrides Object.GetHashCode().)
Protected method GetPropertyValue(Object)
Protected method GetPropertyValue<T>(Object)
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 (Overrides Object.ToString().)
Public method Validate Validates the rule.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.TeamFoundation.MVVM Namespace