IndexAttribute.Equals-Methode (Object)
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Bestimmt, ob dieses Attribut den gleichen Namen und die gleiche Konfiguration angibt, wie das angegebene Attribut.
Namespace: System.ComponentModel.DataAnnotations.Schema
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As IndexAttribute
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
public:
virtual bool Equals(
Object^ obj
) override
abstract Equals :
obj:Object -> bool
override Equals :
obj:Object -> bool
public override function Equals(
obj : Object
) : boolean
Parameter
- obj
Typ: System.Object
Das zu vergleichende Attribut.
Rückgabewert
Typ: System.Boolean
true , wenn das andere Objekt gleich diesem Objekt ist; andernfalls false.