共用方式為


EdmTypeSemantics.AsDecimal(IEdmTypeReference) 方法

定義

如果這個參考是十進位類型,這會傳回型別定義的有效十進位型別參考。 否則傳回錯誤的十進位型別參考。

public static Microsoft.OData.Edm.IEdmDecimalTypeReference AsDecimal (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsDecimal : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmDecimalTypeReference
<Extension()>
Public Function AsDecimal (type As IEdmTypeReference) As IEdmDecimalTypeReference

參數

type
IEdmTypeReference

呼叫物件的參考。

傳回

如果此參考的定義是十進位型別,則為有效的十進位型別參考, 否則為錯誤的十進位型別參考。

適用於