Bagikan melalui


EdmElementComparer.IsEquivalentTo Method (IEdmType, IEdmType)

Indicates a value 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 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

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 IEdmType. 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.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

EdmElementComparer Class

IsEquivalentTo Overload

Microsoft.Data.Edm Namespace