Padding.GetHashCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a hash code for the current Padding.
public:
override int GetHashCode();
public override int GetHashCode ();
public override readonly int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
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
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk