EnumDescription.GetDescription (Type, String) Method
Gets the description for certaing named value in an Enumeration
Public Shared Function GetDescription( _
ByVal value As Type, _
ByVal name As String _
) 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
-
Type
The type of the Enumeration
-
name
-
string
The name of the Enumeration value
Return Value
string
The description, if any, else the passed name
.NET Framework
Supported in: 4.8