MaskedTextProvider::VerifyString Method (String^)
.NET Framework (current version)
Tests whether the specified string could be set successfully.
Assembly: System (in System.dll)
Parameters
- input
-
Type:
System::String^
The String value to test.
Return Value
Type: System::Booleantrue if the specified string represents valid input; otherwise, false.
The VerifyString applies the input string against the mask, without actually changing the formatted string, to test whether input would be valid in a corresponding Set operation. This method also returns true if input is null or has zero length.
.NET Framework
Available since 2.0
Available since 2.0
Show: