Поделиться через


Метод GetHashCode

Gets the hash code for the object.

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
Public Overrides Function GetHashCode As Integer
'Применение
Dim instance As Policy..::..Key
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

Возвращаемое значение

Тип: System. . :: . .Int32
A Int32 value that specifies the hash code.

Замечания

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