Share via


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

Return Value

Type: System.Boolean
true if the rule has been followed; false otherwise.

.NET Framework Security

See Also

Reference

ValidationRule Class

Microsoft.TeamFoundation.MVVM Namespace