EdmTypeSemantics.IsOrInheritsFrom(IEdmType, IEdmType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a type is equivalent to or derived from another type.
public static bool IsOrInheritsFrom (this Microsoft.OData.Edm.IEdmType thisType, Microsoft.OData.Edm.IEdmType otherType);
static member IsOrInheritsFrom : Microsoft.OData.Edm.IEdmType * Microsoft.OData.Edm.IEdmType -> bool
<Extension()>
Public Function IsOrInheritsFrom (thisType As IEdmType, otherType As IEdmType) As Boolean
Parameters
- thisType
- IEdmType
Type to be tested for equivalence to or derivation from the other type.
- otherType
- IEdmType
Type that is the other type.
Returns
True if and only if the thisType is equivalent to or inherits from otherType.