Share via


CollectionSet.Key.GetHashCode Method

Gets the hash code for a key.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
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

Return Value

Type: System.Int32
A Int that is the hash code.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.