Partager via


GetHashCode méthode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Overrides Function GetHashCode As Integer
'Utilisation
Dim instance As [Property]
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

Valeur de retour

Type : System. . :: . .Int32
An Int32 value that specifies the hash code.