Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Bestimmt, ob ein Typ zu einem anderen Typ äquivalent oder daraus abgeleitet wird.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function IsOrInheritsFrom ( _
thisType As IEdmType, _
otherType As IEdmType _
) As Boolean
'Usage
Dim thisType As IEdmType
Dim otherType As IEdmType
Dim returnValue As Boolean
returnValue = thisType.IsOrInheritsFrom(otherType)
public static bool IsOrInheritsFrom(
this IEdmType thisType,
IEdmType otherType
)
[ExtensionAttribute]
public:
static bool IsOrInheritsFrom(
IEdmType^ thisType,
IEdmType^ otherType
)
static member IsOrInheritsFrom :
thisType:IEdmType *
otherType:IEdmType -> bool
public static function IsOrInheritsFrom(
thisType : IEdmType,
otherType : IEdmType
) : boolean
Parameter
- thisType
Typ: Microsoft.Data.Edm.IEdmType
Typ, der auf Äquivalenz zum oder Ableitung vom anderen Typ getestet werden soll.
- otherType
Typ: Microsoft.Data.Edm.IEdmType
Typ, der der andere Typ ist.
Rückgabewert
Typ: System.Boolean
Nur dann true, wenn der Parameter thisType mit dem Parameter otherType übereinstimmt oder von diesem erbt, andernfalls false.
Hinweis zur Verwendung
In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmType aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).