Mono Class Library: System.UriBuilder Overview | Members

System.UriBuilder.GetHashCode Method

Generates a hash code for the current instance.

public override int GetHashCode ()

Returns

A int containing the hash code for this instance.

Remarks

The hash code is generated without the fragment component. For example, the URIs "http://www.contoso.com/index.htm#search" and "http://www.contoso.com/index.htm" produce the same hash code.

The algorithm used to generate the hash code is unspecified.

Note: This method overrides object.GetHashCode.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0