IsNotEmptyValidationRule.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.
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.