EnumHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enum helper
public static class EnumHelper
type EnumHelper = class
Public Module EnumHelper
- Inheritance
-
EnumHelper
Methods
ToStringLiteral(IEdmEnumTypeReference, Int64) |
Convert enum int value to string |
TryParseEnum(IEdmEnumType, String, Boolean, Int64) |
Parse an enum literal value to integer. The literal value can be Enum member name (e.g. "Red"), underlying value (e.g. "2"), or combined values (e.g. "Red, Green, Blue", "1,2,4"). |