Freigeben über


EdmElementComparer.IsEquivalentTo-Methode (IEdmTypeReference, IEdmTypeReference)

Gibt true zurück, wenn der verglichene Typ zu diesem Typ semantisch gleichwertig ist.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsEquivalentTo ( _
    thisType As IEdmTypeReference, _
    otherType As IEdmTypeReference _
) As Boolean
'Usage
Dim thisType As IEdmTypeReference
Dim otherType As IEdmTypeReference
Dim returnValue As Boolean

returnValue = thisType.IsEquivalentTo(otherType)
public static bool IsEquivalentTo(
    this IEdmTypeReference thisType,
    IEdmTypeReference otherType
)
[ExtensionAttribute]
public:
static bool IsEquivalentTo(
    IEdmTypeReference^ thisType, 
    IEdmTypeReference^ otherType
)
static member IsEquivalentTo : 
        thisType:IEdmTypeReference * 
        otherType:IEdmTypeReference -> bool 
public static function IsEquivalentTo(
    thisType : IEdmTypeReference, 
    otherType : IEdmTypeReference
) : boolean

Parameter

Rückgabewert

Typ: System.Boolean
Äquivalenz der zwei Typen.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmTypeReference 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).

Siehe auch

Verweis

EdmElementComparer Klasse

IsEquivalentTo-Überladung

Microsoft.Data.Edm-Namespace