EdmElementComparer.IsEquivalentTo Method (IEdmTypeReference, IEdmTypeReference)

Indicates whether the compared type is semantically equivalent to this type.

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

Parameters

Return Value

Type: System.Boolean
true if the compared type is semantically equivalent to this type; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

EdmElementComparer Class

IsEquivalentTo Overload

Microsoft.Data.Edm Namespace