Share via


IsNotEmptyValidationRule.Validate(Object, CultureInfo) Method

Definition

Determines if value is not empty.

public:
 override Microsoft::Management::UI::Internal::DataErrorInfoValidationResult ^ Validate(System::Object ^ value, System::Globalization::CultureInfo ^ cultureInfo);
public override Microsoft.Management.UI.Internal.DataErrorInfoValidationResult Validate (object value, System.Globalization.CultureInfo cultureInfo);
override this.Validate : obj * System.Globalization.CultureInfo -> Microsoft.Management.UI.Internal.DataErrorInfoValidationResult
Public Overrides Function Validate (value As Object, cultureInfo As CultureInfo) As DataErrorInfoValidationResult

Parameters

value
Object

The value to validate.

cultureInfo
CultureInfo

The culture info to use while validating.

Returns

Returns true if the value is not empty, false otherwise.

Applies to