Editare

Partajați prin


ExceptionValidationRule.Validate(Object, CultureInfo) Method

Definition

Performs validation checks on a value.

public:
 override System::Windows::Controls::ValidationResult ^ Validate(System::Object ^ value, System::Globalization::CultureInfo ^ cultureInfo);
public override System.Windows.Controls.ValidationResult Validate (object value, System.Globalization.CultureInfo cultureInfo);
override this.Validate : obj * System.Globalization.CultureInfo -> System.Windows.Controls.ValidationResult
Public Overrides Function Validate (value As Object, cultureInfo As CultureInfo) As ValidationResult

Parameters

value
Object

The value (from the binding target) to check.

cultureInfo
CultureInfo

The culture to use in this rule.

Returns

A ValidationResult object.

Applies to

See also