Share via


IndexAttribute.GetHashCode-Methode

[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.]

Gibt den Hashcode für diese Instanz zurück.

Namespace:  System.ComponentModel.DataAnnotations.Schema
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As IndexAttribute 
Dim returnValue As Integer 

returnValue = instance.GetHashCode()
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int  
override GetHashCode : unit -> int
public override function GetHashCode() : int

Rückgabewert

Typ: System.Int32
Der Hashcode für diese Instanz.

Siehe auch

Verweis

IndexAttribute Klasse

System.ComponentModel.DataAnnotations.Schema-Namespace