共用方式為


IEdmBooleanConstantExpression 介面

定義

表示 EDM 布林常數運算式。

public interface IEdmBooleanConstantExpression : Microsoft.OData.Edm.IEdmExpression, Microsoft.OData.Edm.Vocabularies.IEdmBooleanValue
type IEdmBooleanConstantExpression = interface
    interface IEdmExpression
    interface IEdmElement
    interface IEdmBooleanValue
    interface IEdmPrimitiveValue
    interface IEdmValue
Public Interface IEdmBooleanConstantExpression
Implements IEdmBooleanValue, IEdmExpression
衍生
實作

屬性

ExpressionKind

取得此運算式的類型。

(繼承來源 IEdmExpression)
Type

取得此值的型別。

(繼承來源 IEdmValue)
Value

取得值,這個值表示此布林值為 true 或 false。

(繼承來源 IEdmBooleanValue)
ValueKind

取得此值的類型。

(繼承來源 IEdmValue)

擴充方法

IsSerializedAsElement(IEdmValue, IEdmModel)

取得指示是否應將該值序列化為元素的註釋。

SetIsSerializedAsElement(IEdmValue, IEdmModel, Boolean)

設定指示是否應將該值序列化為元素的註釋。

Location(IEdmElement)

取得此元素的位置。

TryCast(IEdmExpression, IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>)

判斷運算式的型別是否與提供的型別相容

TryCast(IEdmExpression, IEdmTypeReference, IEnumerable<EdmError>)

判斷運算式的型別是否與提供的型別相容

Errors(IEdmElement)

取得屬於此元素或此元素所包含之元素的錯誤 (如果有的話)。 例如,結構化型別的錯誤包括型別本身的錯誤及其宣告屬性的錯誤。 該方法不會分析此元素所參考的元素。 例如,屬性的錯誤不包括其型別中的錯誤。

IsBad(IEdmElement)

如果這個專案包含 方法傳 Errors(IEdmElement) 回的錯誤,則傳回 true。

適用於