Jaa


EnumHelper.ToStringLiteral(IEdmEnumTypeReference, Int64) Method

Definition

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

type
IEdmEnumTypeReference

edm enum type reference

value
Int64

input int value

Returns

string literal of the enum value

Applies to