Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


Padding.GetHashCode Method

Definition

Generates a hash code for the current Padding.

C#
public override int GetHashCode();
C#
public override readonly int GetHashCode();

Returns

A 32-bit signed integer hash code.

Remarks

The GetHashCode method uses the Right, Left, Top, and Bottom values to generate a 32-bit hash code that represents the current Padding.

A hash code is a number that corresponds to the value of an object (so two objects that have the same value should generate the same hash code). Hash codes are used to sort and store collections of objects. For example, a System.Collections.Hashtable represents a collection of key-and-value pairs that are organized based on the hash code of the key.

For more information on hash codes and hash functions, see the Object.GetHashCode method.

Applies to

Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also