Condividi tramite


Metodo EdmElementComparer.IsEquivalentTo (IEdmTypeReference, IEdmTypeReference)

Restituisce true se il tipo confrontato è semanticamente equivalente al tipo specificato.

Spazio dei nomi  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Function IsEquivalentTo ( _
    thisType As IEdmTypeReference, _
    otherType As IEdmTypeReference _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

Tipo: System.Boolean
Equivalenza dei due tipi.

Nota sull'utilizzo

In Visual Basic e C# questo metodo può essere chiamato come metodo di istanza su qualsiasi oggetto di tipo IEdmTypeReference. Quando si utilizza la sintassi del metodo di istanza per chiamare questo metodo, omettere il primo parametro. Per ulteriori informazioni, vedere https://msdn.microsoft.com/it-it/library/bb384936(v=vs.103) o https://msdn.microsoft.com/it-it/library/bb383977(v=vs.103).

Vedere anche

Riferimento

EdmElementComparer Classe

Overload IsEquivalentTo

Spazio dei nomi Microsoft.Data.Edm