ValidatingValueBase.Validate Method

Definition

Overloads

Validate()

Called to validate the entire object.

Validate(String)

Called to validate the property with the given name.

Validate()

Called to validate the entire object.

protected:
 abstract Microsoft::Management::UI::Internal::DataErrorInfoValidationResult ^ Validate();
protected abstract Microsoft.Management.UI.Internal.DataErrorInfoValidationResult Validate ();
abstract member Validate : unit -> Microsoft.Management.UI.Internal.DataErrorInfoValidationResult
Protected MustOverride Function Validate () As DataErrorInfoValidationResult

Returns

Returns a DataErrorInfoValidationResult which indicates the validation state of the object.

Applies to

Validate(String)

Called to validate the property with the given name.

protected:
 abstract Microsoft::Management::UI::Internal::DataErrorInfoValidationResult ^ Validate(System::String ^ propertyName);
protected abstract Microsoft.Management.UI.Internal.DataErrorInfoValidationResult Validate (string propertyName);
abstract member Validate : string -> Microsoft.Management.UI.Internal.DataErrorInfoValidationResult
Protected MustOverride Function Validate (propertyName As String) As DataErrorInfoValidationResult

Parameters

propertyName
String

The name of the property whose error message will be checked.

Returns

Returns a DataErrorInfoValidationResult which indicates the validation state of the property.

Applies to