Converts the user input string to an instance of the validating type.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
A critical exception occurred during the parsing of the input string.
The method attempts to convert the formatted string contained in the Text property to an instance of the type that is specified by the ValidatingType property. Prompt characters are ignored in the formatted string, but literals are handled in accordance with the current value of the TextMaskFormat property.
raises the TypeValidationCompleted event after the conversion is attempted, regardless of its success.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2