FlexReport for WPF | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document 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