共用方式為


IEdmProperty 介面

表示 EDM 屬性。

命名空間:  Microsoft.Data.Edm
組件:  Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)

語法

'宣告
Public Interface IEdmProperty _
    Inherits IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
'用途
Dim instance As IEdmProperty
public interface IEdmProperty : IEdmNamedElement, 
    IEdmVocabularyAnnotatable, IEdmElement
public interface class IEdmProperty : IEdmNamedElement, 
    IEdmVocabularyAnnotatable, IEdmElement
type IEdmProperty =  
    interface
        interface IEdmNamedElement
        interface IEdmVocabularyAnnotatable
        interface IEdmElement
    end
public interface IEdmProperty extends IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

IEdmProperty 型別公開下列成員。

屬性

  名稱 說明
公用屬性 DeclaringType 取得此屬性所屬的型別。
公用屬性 Name 取得此元素的名稱。 (繼承自 IEdmNamedElement。)
公用屬性 PropertyKind 取得此屬性的類型。
公用屬性 Type 取得此屬性的型別。

上層

擴充 方法

  名稱 說明
公用擴充方法 Errors 取得屬於此元素或此元素所包含之元素的錯誤 (如果有的話)。例如,結構化型別的錯誤包括型別本身的錯誤及其宣告屬性的錯誤。該方法不會分析此元素所參考的元素。例如,屬性的錯誤不包括其型別中的錯誤。 (由 ValidationExtensionMethods 定義。)
公用擴充方法 IsBad 指出這個元素是否包含 Errors(IEdmElement) 方法傳回的錯誤。 (由 ValidationExtensionMethods 定義。)
公用擴充方法 IsEquivalentTo 如果相比較的屬性在語意上等於此屬性,則傳回 true。 (由 EdmElementComparer 定義。)
公用擴充方法 Location 取得指定之項目的位置。 (由 ExtensionMethods 定義。)
公用擴充方法 ToTraceString 傳回目前物件的文字表示。 (由 ToTraceStringExtensionMethods 定義。)
公用擴充方法 VocabularyAnnotations 取得從特定模型中所見之可註釋元素的詞彙註釋。 (由 ExtensionMethods 定義。)

上層

請參閱

參考

Microsoft.Data.Edm 命名空間