System.UriBuilder Members

The members of System.UriBuilder are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the UriBuilder class.

Initializes a new instance of the UriBuilder class with the specified URI.

Initializes a new instance of the UriBuilder class with the specified Uri instance.

Initializes a new instance of the UriBuilder class with the specified scheme and host.

Initializes a new instance of the UriBuilder class with the specified scheme, host, and port.

Initializes a new instance of the UriBuilder class with the specified scheme, host, port number, and path.

Initializes a new instance of the UriBuilder class with the specified scheme, host, port number, path and query string or fragment identifier.

Public Properties

Fragmentstring.

Gets or sets the fragment portion of the URI.

Hoststring.

Gets or sets the Domain Name System (DNS) host name or IP address of a server.

Passwordstring.

Gets or sets the password associated with the user that accesses the URI.

Pathstring.

Gets or sets the path to the resource referenced by the URI.

Portint.

Gets or sets the port number of the URI.

Querystring.

Gets or sets any query information included in the URI.

Schemestring.

Gets or sets the scheme name of the URI.

[read-only]
UriUri.

Gets the Uri instance constructed by the specified UriBuilder instance.

UserNamestring.

The user name associated with the user that accesses the URI.

Public Methods

override
Equals(object) : bool

Compares an existing Uri instance with the contents of the UriBuilder for equality.

override
GetHashCode() : int

Returns the hash code for the URI.

override
ToString() : string

Returns the display string for the specified UriBuilder instance.