ValidationRule.Validate Method
Validates the rule.
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public MustOverride Function Validate ( _
viewModel As Object _
) As Boolean
public abstract bool Validate(
Object viewModel
)
public:
virtual bool Validate(
Object^ viewModel
) abstract
abstract Validate :
viewModel:Object -> bool
public abstract function Validate(
viewModel : Object
) : boolean
Parameters
- viewModel
Type: System.Object
Return Value
Type: System.Boolean
true if the rule has been followed; false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.