UriBuilder.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.
Returns the hash code for the URI.
public:
override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
Returns
The hash code generated for the URI.
Remarks
The hash code is generated without including any fragment. The URIs http://www.contoso.com/index.htm#search
and http://www.contoso.com/index.htm
generate the same hash code.
The hash codes for Uri A and B are guaranteed to be the same when A.Equals(B) is true
.
This method implements Object.GetHashCode.
Applies to
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