Condividi tramite


Metodo GetHashCode

Restituisce il codice hash per questo oggetto.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Overrides Function GetHashCode As Integer
'Utilizzo
Dim instance As ScriptOption
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

Valore restituito

Tipo: System. . :: . .Int32
Valore Int32 che specifica il codice hash.

Osservazioni

This method serves as a hash function for the object. It is suitable for use in hashing algorithms and data structures like a hash table.