Επεξεργασία

Κοινή χρήση μέσω


StringWithQualityHeaderValue.GetHashCode Method

Definition

Serves as a hash function for an StringWithQualityHeaderValue object.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

A hash code for the current object.

Remarks

A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.

The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.

Applies to