Visual Basic (Declaration) | |
---|---|
Public Overrides NotOverridable Function Validate( _ ByVal value As Object, _ ByVal cultureInfo As CultureInfo _ ) As ValidationResult |
C# | |
---|---|
public override ValidationResult Validate( object value, CultureInfo cultureInfo ) |
Parameters
- value
- The value from the binding target to check.
- cultureInfo
- The culture to use in this rule.
Return Value
A System.Windows.Controls.ValidationResult object.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family