Input for WinForms | ComponentOne
C1.Win.Input.Validation Namespace / ParseInfo Class / Parse Method
The string to parse.
Type to which the string is converted.
Conversion result.
Object detailing error information, if an error occurred.

In This Topic
    Parse Method
    In This Topic
    Converts text to the specified data type.
    Syntax
    'Declaration
     
    
    Public Function Parse( _
       ByVal text As String, _
       ByVal destinationType As Type, _
       ByRef result As Object, _
       ByVal errorInfo As ErrorInfo _
    ) As Boolean

    Parameters

    text
    The string to parse.
    destinationType
    Type to which the string is converted.
    result
    Conversion result.
    errorInfo
    Object detailing error information, if an error occurred.
    See Also