Provides a custom constructor for uniform resource identifiers (URIs) and modifies URIs for the Uri class.
public ref class UriBuilder
public class UriBuilder
type UriBuilder = class
Public Class UriBuilder
The UriBuilder class provides a convenient way to modify the contents of a Uri instance without creating a new Uri instance for each modification.
The UriBuilder properties provide read/write access to the read-only Uri properties so that they can be modified.
Constructors UriBuilder()Initializes a new instance of the UriBuilder class.
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.
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)Initializes a new instance of the UriBuilder class with the specified scheme, host, and port.
UriBuilder(String, String)Initializes a new instance of the UriBuilder class with the specified scheme and host.
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.
Properties FragmentGets or sets the fragment portion of the URI, including the leading '#' character if not empty.
HostGets or sets the Domain Name System (DNS) host name or IP address of a server.
PasswordGets or sets the password associated with the user that accesses the URI.
PathGets or sets the path to the resource referenced by the URI.
PortGets or sets the port number of the URI.
QueryGets or sets any query information included in the URI, including the leading '?' character if not empty.
SchemeGets or sets the scheme name of the URI.
UriGets the Uri instance constructed by the specified UriBuilder instance.
UserNameGets or sets the user name associated with the user that accesses the URI.
Methods See alsoCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4