EdmTypeSemantics.InheritsFrom(IEdmStructuredType, IEdmStructuredType) 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 the potential base type is in the inheritance hierarchy of the type being tested.
public static bool InheritsFrom (this Microsoft.OData.Edm.IEdmStructuredType type, Microsoft.OData.Edm.IEdmStructuredType potentialBaseType);
static member InheritsFrom : Microsoft.OData.Edm.IEdmStructuredType * Microsoft.OData.Edm.IEdmStructuredType -> bool
<Extension()>
Public Function InheritsFrom (type As IEdmStructuredType, potentialBaseType As IEdmStructuredType) As Boolean
Parameters
- type
- IEdmStructuredType
Type to be tested for derivation from the other type.
- potentialBaseType
- IEdmStructuredType
The potential base type of the type being tested.
Returns
True if and only if the type inherits from the potential base type.