The converted value. Can be a null reference (Nothing in Visual Basic) if a value could not be extracted from text.
In This Topic
QueryValueFromTextCore Method (MaskedTextBox)
In This Topic
Queries the specified text and returns its corresponding value converted to the type specified by the ValueDataType property and according to the format defined by the FormatProvider property.
The converted value. Can be a null reference (Nothing in Visual Basic) if a value could not be extracted from text.
Return Value
true if a value was extracted from the specified text; false otherwise.
Requirements
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2