IEdmStructuralProperty 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示 EDM 結構化 (即非導覽) 屬性。
public interface IEdmStructuralProperty : Microsoft.OData.Edm.IEdmProperty
type IEdmStructuralProperty = interface
interface IEdmProperty
interface IEdmNamedElement
interface IEdmElement
interface IEdmVocabularyAnnotatable
Public Interface IEdmStructuralProperty
Implements IEdmProperty
- 衍生
- 實作
屬性
DeclaringType |
取得此屬性所屬的型別。 (繼承來源 IEdmProperty) |
DefaultValueString |
取得此屬性的預設值。 |
Name |
取得此元素的名稱。 (繼承來源 IEdmNamedElement) |
PropertyKind |
取得此屬性的類型。 (繼承來源 IEdmProperty) |
Type |
取得這個屬性的型別。 (繼承來源 IEdmProperty) |
擴充方法
GetSymbolicString(IEdmVocabularyAnnotatable) |
取得批註專案的符號字串。 在下一個中斷性變更中,最好將屬性新增至 IEdmVocabularyAnnotatable 。 |
IsKey(IEdmProperty) |
判斷指定的屬性是否為其包含類型的索引鍵。 |
Location(IEdmElement) |
取得此元素的位置。 |
VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel) |
取得從特定模型中所見之可註釋元素的詞彙註釋。 |
ToTraceString(IEdmProperty) |
傳回目前物件的文字表示。 |
Errors(IEdmElement) |
取得屬於此元素或此元素所包含之元素的錯誤 (如果有的話)。 例如,結構化型別的錯誤包括型別本身的錯誤及其宣告屬性的錯誤。 該方法不會分析此元素所參考的元素。 例如,屬性的錯誤不包括其型別中的錯誤。 |
IsBad(IEdmElement) |
如果這個專案包含 方法傳 Errors(IEdmElement) 回的錯誤,則傳回 true。 |