There was an error while loading. Please reload this page.
Returns description of enum value.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static string GetDisplayName<TEnum>( TEnum value ) where TEnum : struct, new()
VB
Public Shared Function GetDisplayName(Of TEnum As {Structure, New}) ( value As TEnum ) As String
F#
static member GetDisplayName : value : 'TEnum -> string when 'TEnum : struct, new()
Type: String[Missing documentation for "M:CodeJam.EnumHelper.GetDisplayName1(0)"]
1(
Returns description of enum value specified by DisplayAttribute, or null if no attribute specified.
null
EnumHelper ClassCodeJam Namespace