Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Metric Class / GetHashCode Method

In This Topic
    GetHashCode Method (Metric)
    In This Topic
    Provides a representative hash code for objects of this type to spread out distribution in hash tables.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetHashCode() As Integer
    public override int GetHashCode()

    Return Value

    An int representing the hash code calculated for the contents of this object.
    Remarks
    Objects which consider themselves to be Equal (a.Equals(b) returns true) are expected to have the same hash code. Objects which are not Equal may have the same hash code, but minimizing such overlaps helps with efficient operation of hash tables.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also