次の方法で共有


EdmElementComparer.IsEquivalentTo メソッド (IEdmTypeReference, IEdmTypeReference)

比較対象の型がこの型とセマンティクス的に等価である場合、true を返します。

名前空間:  Microsoft.Data.Edm
アセンブリ:  Microsoft.Data.Edm (Microsoft.Data.Edm.dll)

構文

'宣言
<ExtensionAttribute> _
Public Shared Function IsEquivalentTo ( _
    thisType As IEdmTypeReference, _
    otherType As IEdmTypeReference _
) As Boolean
'使用
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

パラメーター

戻り値

型: System.Boolean
2 つの型の等価性。

使用に関するメモ

Visual Basic および C# では、このメソッドを型 IEdmTypeReference の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。

関連項目

参照

EdmElementComparer クラス

IsEquivalentTo オーバーロード

Microsoft.Data.Edm 名前空間