This documentation is archived and is not being maintained.
UriBuilder Class
Visual Studio 2010
Provides a custom constructor for uniform resource identifiers (URIs) and modifies URIs for the Uri class.
Assembly: System (in System.dll)
The UriBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | UriBuilder() | Initializes a new instance of the UriBuilder class. |
![]() | UriBuilder(String) | Initializes a new instance of the UriBuilder class with the specified URI. |
![]() | UriBuilder(Uri) | Initializes a new instance of the UriBuilder class with the specified Uri instance. |
![]() | UriBuilder(String, String) | Initializes a new instance of the UriBuilder class with the specified scheme and host. |
![]() | UriBuilder(String, String, Int32) | Initializes a new instance of the UriBuilder class with the specified scheme, host, and port. |
![]() | UriBuilder(String, String, Int32, String) | Initializes a new instance of the UriBuilder class with the specified scheme, host, port number, and path. |
![]() | UriBuilder(String, String, Int32, String, String) | Initializes a new instance of the UriBuilder class with the specified scheme, host, port number, path and query string or fragment identifier. |
| Name | Description | |
|---|---|---|
![]() | Fragment | Gets or sets the fragment portion of the URI. |
![]() | Host | Gets or sets the Domain Name System (DNS) host name or IP address of a server. |
![]() | Password | Gets or sets the password associated with the user that accesses the URI. |
![]() | Path | Gets or sets the path to the resource referenced by the URI. |
![]() | Port | Gets or sets the port number of the URI. |
![]() | Query | Gets or sets any query information included in the URI. |
![]() | Scheme | Gets or sets the scheme name of the URI. |
![]() | Uri | Gets the Uri instance constructed by the specified UriBuilder instance. |
![]() | UserName | The user name associated with the user that accesses the URI. |
| Name | Description | |
|---|---|---|
![]() | Equals | Compares an existing Uri instance with the contents of the UriBuilder for equality. (Overrides Object::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for the URI. (Overrides Object::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the display string for the specified UriBuilder instance. (Overrides Object::ToString().) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:


