Condividi tramite


EnumHelper.ToStringLiteral(IEdmEnumTypeReference, Int64) Metodo

Definizione

Convertire il valore int dell'enumerazione in stringa

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

Parametri

type
IEdmEnumTypeReference

Informazioni di riferimento sul tipo di enumerazione edm

value
Int64

valore int di input

Restituisce

valore letterale stringa del valore enum

Si applica a