Enums Enums
Enums Enums
DocFX + Singulink = ♥

Search Results for

    Method TryParse

    TryParse(string, out T)

    Gets the enumeration value parsed from the specified string.

    Declaration
    public bool TryParse(string s, out T value)
    Parameters
    Type Name Description
    string s

    The string to be parsed.

    T value

    Contains the resulting value when the method returns if parsing was successful, otherwise the default value of T.

    Returns
    Type Description
    bool

    true if parsing was successful, otherwise false.

    © Singulink. All rights reserved.