EdmTypeSemantics.IsOnSameTypeHierarchyLineWith(IEdmType, IEdmType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷 thisType 是否與 otherType 相同,或 thisType 衍生自 otherType,或 otherType 衍生自 thisType。
public static bool IsOnSameTypeHierarchyLineWith (this Microsoft.OData.Edm.IEdmType thisType, Microsoft.OData.Edm.IEdmType otherType);
static member IsOnSameTypeHierarchyLineWith : Microsoft.OData.Edm.IEdmType * Microsoft.OData.Edm.IEdmType -> bool
<Extension()>
Public Function IsOnSameTypeHierarchyLineWith (thisType As IEdmType, otherType As IEdmType) As Boolean
參數
- thisType
- IEdmType
這個 EDM 類型。
- otherType
- IEdmType
其他 EDM 類型。
傳回
如果 thisType 和 otherType 沿著類型階層中的相同行,則為 true;否則為 false。