Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1StyleFontWeight Structure / TryParse Method
The text to parse.
The returned font-weight.

In This Topic
    TryParse Method (C1StyleFontWeight)
    In This Topic
    Tries to parse the specified text and returns the value in the fontWeight parameter.
    Syntax
    'Declaration
     
    
    Public Shared Function TryParse( _
       ByVal text As String, _
       ByRef fontWeight As C1StyleFontWeight _
    ) As Boolean
    public static bool TryParse( 
       string text,
       out C1StyleFontWeight fontWeight
    )

    Parameters

    text
    The text to parse.
    fontWeight
    The returned font-weight.
    See Also