EnumHelper.ToStringLiteral(IEdmEnumTypeReference, Int64) Method
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.
Convert enum int value to string
public static string ToStringLiteral (this Microsoft.OData.Edm.IEdmEnumTypeReference type, long value);
static member ToStringLiteral : Microsoft.OData.Edm.IEdmEnumTypeReference * int64 -> string
<Extension()>
Public Function ToStringLiteral (type As IEdmEnumTypeReference, value As Long) As String
Parameters
edm enum type reference
- value
- Int64
input int value
Returns
string literal of the enum value