共用方式為


EnumHelper.ToStringLiteral(IEdmEnumTypeReference, Int64) 方法

定義

將列舉 int 值轉換為字串

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

參數

type
IEdmEnumTypeReference

edm 列舉類型參考

value
Int64

輸入 int 值

傳回

列舉值的字串常值

適用於