FromDisplayName

Enumeration.FromDisplayName<T> method

Returns object by display name.

public static T FromDisplayName<T>(string displayName)
    where T : Enumeration, new()
Parameter Type Description
displayName String The display name

Return Value

The object

See Also