Compartir a través de


GetHashCode Método

Devuelve el código hash de este objeto.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Overrides Function GetHashCode As Integer
'Uso
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

Valor devuelto

Tipo: System. . :: . .Int32
Valor de la estructura Int32 que especifica el código hash.

Comentarios

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.

Ejemplos

Scripting