Loupe - Log - Monitor - Resolve
Gibraltar.Monitor.Serialization Namespace / ApplicationUserPacket Class / GetHashCode Method

In This Topic
    GetHashCode Method (ApplicationUserPacket)
    In This Topic
    Serves as the default hash function. Provides a representative hash code for objects of this type to spread out distribution in hash tables. 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

    A hash code for the current object. an int representing the hash code calculated for the contents of this object 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. 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