ComponentOne Input for WinForms
C1.Win.C1Input.4.8 Assembly / C1.Win.C1Input 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
    public bool Parse( 
       string text,
       Type destinationType,
       out object result,
       ErrorInfo errorInfo
    )

    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