DataErrorValidationRule.Validate(Object, CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 to check.
- cultureInfo
- CultureInfo
The culture to use in this rule.
Returns
The result of the validation.
Remarks
Validate is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
Applies to
See also
Arbeiten Sie mit uns auf GitHub zusammen
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.