FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / Unit Structure / TryParse Method / TryParse(String,Unit) Method
The string to parse.
OUT: Unit structure.

In This Topic
    TryParse(String,Unit) Method
    In This Topic
    Parses a string and creates Unit structure.
    Syntax
    'Declaration
     
    Public Overloads Shared Function TryParse( _
       ByVal s As String, _
       ByRef unit As Unit _
    ) As Boolean
    public static bool TryParse( 
       string s,
       out Unit unit
    )

    Parameters

    s
    The string to parse.
    unit
    OUT: Unit structure.

    Return Value

    True if the conversion was successfull, false otherwise.
    See Also