共用方式為


IEdmSchemaElement 介面

定義

EDM 架構所有具名子系的通用基底介面。

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

屬性

Name

取得此元素的名稱。

(繼承來源 IEdmNamedElement)
Namespace

取得此結構描述元素所屬的命名空間。

SchemaElementKind

取得此結構描述元素的類型。

擴充方法

GetSymbolicString(IEdmVocabularyAnnotatable)

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

FullName(IEdmSchemaElement)

取得專案的完整名稱。

Location(IEdmElement)

取得此元素的位置。

ShortQualifiedName(IEdmSchemaElement)

取得專案的簡短限定名稱。

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

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

ToTraceString(IEdmSchemaElement)

傳回目前物件的文字表示。

Errors(IEdmElement)

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

IsBad(IEdmElement)

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

適用於