The Url type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Url | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Decode | Overloaded. | |
| Encode | Overloaded. | |
| Equals | (Overrides Object..::.Equals(Object).) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetComponents |
Gets the specified components from the url (appended in returned string)
| |
| GetHashCode |
Serves as a hash function for a particular type.
(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.) | |
| QueryEncodingRule | ||
| SegmentEncodingRule | ||
| ToString |
Returns a canonical string representation for the specified Url instance.
(Overrides Object..::.ToString()()().) |
Properties
| Name | Description | |
|---|---|---|
| Authority |
Gets the Domain Name System (DNS) host name or IP address and the port number for a server.
| |
| DnsSafeHost |
Gets an unescaped host name that is safe to use for DNS resolution.
| |
| Encoding |
Gets the encoding used for unescaping and escaping.
| |
| Fragment |
Gets the escaped fragment.
| |
| Host |
Gets the host component of this instance.
| |
| IsAbsoluteUri |
Gets a value indicating whether this instance is absolute.
| |
| IsRelative |
Gets or sets a value indicating whether this Url instance represents a relative Url.
| |
| LocalPath |
Gets a local operating-system representation of a file name.
| |
| OriginalString |
Gets or sets the original string.
| |
| Path |
Gets the path. Will return a relative path if the path was relative to start with.
| |
| PathAndQuery |
Gets the AbsolutePath and Query properties separated by a question mark (?).
| |
| Port |
Gets the port number of this URL.
| |
| Query |
Gets any query information included in the specified URL.
| |
| QueryCollection |
Gets a parsed and decoded collection of query string parameters.
| |
| Scheme |
Gets the scheme name for this URL.
| |
| Segments |
Gets an array containing the path segments that make up the specified URL.
| |
| Split |
Gets the different components of the Url
| |
| Uri |
Gets the backing System.Uri.
| |
| UriInternal |
Gets the internal System.Uri, which is always absolute possibly by prefixing the original
relative Url with http://localhost .
| |
| UserEscaped |
Indicates that the URI string was completely escaped before the Url instance was created.
| |
| UserInfo |
Gets the user name, password, or other user-specific information associated with the specified URL.
|