EnumHelper.ToStringLiteral(IEdmEnumTypeReference, Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將列舉 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
參數
edm 列舉類型參考
- value
- Int64
輸入 int 值
傳回
列舉值的字串常值