EnumDescription.GetDescription (Enum) Method
Gets Enum Value's Description Attribute
Public Shared Function GetDescription( _
ByVal value As Enum _
) As String
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
value
-
Enum
The value you want the description attribute for
Return Value
string
The description, if any, else it's .ToString()
.NET Framework
Supported in: 4.5, 4.6, 4.7