共用方式為


IEdmVocabularyAnnotatable 介面

定義

表示詞彙批註可以設為目標的元素

public interface IEdmVocabularyAnnotatable : Microsoft.OData.Edm.IEdmElement
type IEdmVocabularyAnnotatable = interface
    interface IEdmElement
Public Interface IEdmVocabularyAnnotatable
Implements IEdmElement
衍生
實作

擴充方法

GetSymbolicString(IEdmVocabularyAnnotatable)

取得標注專案的符號字串。 在下一個重大變更中,最好是將 屬性新增至 IEdmVocabularyAnnotatable

Location(IEdmElement)

取得此元素的位置。

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

取得從特定模型中所見之可註釋元素的詞彙註釋。

Errors(IEdmElement)

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

IsBad(IEdmElement)

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

適用於