Share via


EnumHelper Class

Definition

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").

Applies to