ParseEnum<T> Method
- Last UpdatedNov 06, 2025
- 1 minute read
Converts the input enum description to a valid enum.
'Declaration
Public Shared Function ParseEnum(Of T)( _
ByVal EnumDescription As String _
) As T
public static T ParseEnum<T>(
string EnumDescription
)
Parameters
- EnumDescription
- A valid enumeration description of this type.
Type Parameters
- T
- The Type of source enumeration.
Return Value
An enumerated value.