次の方法で共有


IndexAttribute.Equals メソッド (IndexAttribute)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

この属性が特定の属性と同じ名前および構成を指定するかどうかを判断します。

名前空間:  System.ComponentModel.DataAnnotations.Schema
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Protected Overridable Function Equals ( _
    other As IndexAttribute _
) As Boolean
'使用
Dim other As IndexAttribute 
Dim returnValue As Boolean 

returnValue = Me.Equals(other)
protected virtual bool Equals(
    IndexAttribute other
)
protected:
virtual bool Equals(
    IndexAttribute^ other
)
abstract Equals : 
        other:IndexAttribute -> bool  
override Equals : 
        other:IndexAttribute -> bool
protected function Equals(
    other : IndexAttribute
) : boolean

パラメーター

戻り値

型 : System.Boolean
このオブジェクトともう一方のオブジェクトが等しい場合は true。それ以外の場合は false。

参照

参照

IndexAttribute クラス

Equals オーバーロード

System.ComponentModel.DataAnnotations.Schema 名前空間