ValidationRule Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.MVVM.ValidationRule
Microsoft.TeamFoundation.MVVM.HttpUriValidationRule
Microsoft.TeamFoundation.MVVM.RelayValidationRule
Microsoft.TeamFoundation.MVVM.StringNotNullOrWhiteSpaceValidationRule
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public MustInherit Class ValidationRule
public abstract class ValidationRule
public ref class ValidationRule abstract
[<AbstractClass>]
type ValidationRule = class end
public abstract class ValidationRule
The ValidationRule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidationRule |
Top
Properties
Name | Description | |
---|---|---|
Error | A descriptive text about the error. This property is only applicable if the rule is broken. | |
PropertyName |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Overrides Object.GetHashCode().) | |
GetPropertyValue(Object) | ||
GetPropertyValue<T>(Object) | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides Object.ToString().) | |
Validate | Validates the rule. |
Top
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.