Enums Enums
Enums Enums
DocFX + Singulink = ♥

Search Results for

    Method TryGetValue

    TryGetValue(string, out T)

    Gets the enumeration value with the given name.

    Declaration
    public bool TryGetValue(string name, out T value)
    Parameters
    Type Name Description
    string name

    The name of the enumeration value.

    T value

    Contains the matched value when the method returns if the value was found, otherwise the default value of T.

    Returns
    Type Description
    bool

    true if the value was found, otherwise false.

    © Singulink. All rights reserved.