EnumExtensions.GetEnumFromDescription method
Finds enum value by description string (case-insensitive).
public static T? GetEnumFromDescription<T>(string description)
where T : struct, Enum
| parameter | description |
|---|---|
| T | The enum type. |
| description | Description to search for. |
Return Value
Matching enum value or null if not found.
See Also
- class EnumExtensions
- namespace Autodesk.DataExchange.ProgressManager.Utilities