GetHashCode 方法
Gets the hash code for a key.
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
Public Overrides Function GetHashCode As Integer
'用途
Dim instance As CollectionSet..::..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 Int that is the hash code.
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.