Share via


EdmTypeSemantics.IsOrInheritsFrom(IEdmType, IEdmType) Method

Definition

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.

Applies to