共用方式為


IEdmComplexType 介面

定義

表示 EDM 複雜類型的定義。

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

屬性

BaseType

取得這個型別的基底類型 (Base Type)。

(繼承來源 IEdmStructuredType)
DeclaredProperties

取得在此型別內即時宣告的屬性。

(繼承來源 IEdmStructuredType)
IsAbstract

取得表示這個型別是否為抽象的值。

(繼承來源 IEdmStructuredType)
IsOpen

取得值,這個值表示此型別是否為開放型別。

(繼承來源 IEdmStructuredType)
Name

取得此元素的名稱。

(繼承來源 IEdmNamedElement)
Namespace

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

(繼承來源 IEdmSchemaElement)
SchemaElementKind

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

(繼承來源 IEdmSchemaElement)
TypeKind

取得此型別的類型。

(繼承來源 IEdmType)

方法

FindProperty(String)

以指定之名稱在此型別及所有基底類型中搜尋結構化或導覽屬性,如果沒有這樣的屬性則傳回 null。

(繼承來源 IEdmStructuredType)

擴充方法

IsEquivalentTo(IEdmType, IEdmType)

如果相比較的型別在語意上等於此型別,則傳回 true。 架構類型 () IEdmSchemaType 會與其物件 ref 進行比較。

AsActualType(IEdmType)

傳回指定型別的實際型別。 如果指定的類型是類型定義,則實際類型是其基礎類型;否則,傳回指定的型別本身。

InheritsFrom(IEdmStructuredType, IEdmStructuredType)

判斷潛在基底類型是否位於所測試類型的繼承階層中。

IsBinary(IEdmType)

如果這個定義參考二進位類型,則傳回 true。

IsDecimal(IEdmType)

如果這個定義參考十進位類型,則傳回 true。

IsGeography(IEdmType)

如果這個定義參考 geography 類型,則傳回 true。

IsGeometry(IEdmType)

如果這個定義參考幾何類型,則傳回 true。

IsOnSameTypeHierarchyLineWith(IEdmType, IEdmType)

判斷 thisType 是否與 otherType 相同,或 thisType 衍生自 otherType,或是 otherType 衍生自 thisType。

IsOrInheritsFrom(IEdmType, IEdmType)

判斷類型是否等於或衍生自另一個類型。

IsSpatial(IEdmType)

如果這個定義參考空間類型,則傳回 true。

IsStream(IEdmType)

如果這個參考參考資料流類型,則傳回 true。

IsString(IEdmType)

如果這個定義參考字串類型,則傳回 true。

IsTemporal(IEdmType)

如果這個定義參考時態型別,則傳回 true。

IsUntyped(IEdmType)

如果這個定義參考不具類型的類型,則傳回 true。

GetSymbolicString(IEdmVocabularyAnnotatable)

取得批註專案的符號字串。 在下一個中斷性變更中,最好將屬性新增至 IEdmVocabularyAnnotatable

AsElementType(IEdmType)

取得集合定義的專案類型,或型別參考所參考之非集合定義的本身。

BaseComplexType(IEdmComplexType)

取得這個參考定義的基底型別。

BaseType(IEdmStructuredType)

取得這個結構化型別定義的基底型別。

DeclaredNavigationProperties(IEdmStructuredType)

取得在這個結構化型別定義中宣告的導覽屬性。

DeclaredStructuralProperties(IEdmStructuredType)

取得 IEdmStructuredTypeDefinition 中宣告的所有結構化屬性。

FullName(IEdmSchemaElement)

取得專案的完整名稱。

FullTypeName(IEdmType)

取得型別參考所參考之定義的完整名稱。

IsOpen(IEdmType)

如果開啟這個參考的定義,則傳回 true。

Location(IEdmElement)

取得此元素的位置。

NavigationProperties(IEdmStructuredType)

取得在這個結構化型別和所有基底類型中宣告的導覽屬性。

Properties(IEdmStructuredType)

取得結構化型別定義及其基底型別的所有屬性。

ShortQualifiedName(IEdmSchemaElement)

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

StructuralProperties(IEdmStructuredType)

取得在這個型別定義和所有基底類型中宣告的結構化屬性。

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

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

ToTraceString(IEdmSchemaElement)

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

ToTraceString(IEdmSchemaType)

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

ToTraceString(IEdmType)

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

Errors(IEdmElement)

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

IsBad(IEdmElement)

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

適用於