Metodo EdmElementComparer.IsEquivalentTo (IEdmType, IEdmType)
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 IEdmType, _
otherType As IEdmType _
) As Boolean
'Utilizzo
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
Parametri
- thisType
Tipo: Microsoft.Data.Edm.IEdmType
Riferimento all'oggetto chiamante.
- otherType
Tipo: Microsoft.Data.Edm.IEdmType
Tipo con cui eseguire il confronto.
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 IEdmType. 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).