Freigeben über


EdmElementComparer.IsEquivalentTo-Methode (IEdmType, IEdmType)

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 IEdmType, _
    otherType As IEdmType _
) As Boolean
'Usage
Dim thisType As IEdmType
Dim otherType As IEdmType
Dim returnValue As Boolean

returnValue = thisType.IsEquivalentTo(otherType)
public static bool IsEquivalentTo(
    this IEdmType thisType,
    IEdmType otherType
)
[ExtensionAttribute]
public:
static bool IsEquivalentTo(
    IEdmType^ thisType, 
    IEdmType^ otherType
)
static member IsEquivalentTo : 
        thisType:IEdmType * 
        otherType:IEdmType -> bool 
public static function IsEquivalentTo(
    thisType : IEdmType, 
    otherType : IEdmType
) : 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 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).

Siehe auch

Verweis

EdmElementComparer Klasse

IsEquivalentTo-Überladung

Microsoft.Data.Edm-Namespace