Uri Members

Uri has the following members.

Public Constructors

  Name Description
Uri Overloaded. Creates and initializes a new instance of the Uniform Resource Identifier (URI).

Public Properties

  Name Description
AbsoluteCanonicalUri Gets a fully canonicalized RFC-complaint representation of the current URI.
AbsoluteUri Gets the entire, non-canonical IRI.
DisplayIri Gets the decoded unicode characters that make up the current URI.
DisplayUri Gets a representation of the IRI that can be used for display purposes.
Domain Gets the domain name, including top-level domain, from a Uniform Resource Identifier (URI).
Extension Gets the file name extension of the resource that is referenced in the Uniform Resource Identifier (URI).
Fragment Gets the text following a fragment marker (#), including the fragment marker itself.
Host Gets the fully qualified domain name.
Password Gets the password, as parsed from a Uniform Resource Identifier (URI).
Path Gets the path and resource name.
Port Gets the port number.
Query Gets the query string.
QueryParsed Gets a parsed URL query string.
RawUri Gets the entire original Uniform Resource Identifier (URI) string.
SchemeName Gets the protocol scheme name.
Suspicious Gets a value that indicates whether the Uniform Resource Identifier (URI) is not well-formed.
UserName Gets the user name as parsed from a Uniform Resource Identifier (URI).

Public Methods

  Name Description
CombineUri Adds the specified Uniform Resource Identifier (URI) to the current Uniform Resource Identifier (URI).
Equals Overloaded. Determines whether the specified Uniform Resource Identifier (URI) is equal to the current Uniform Resource Identifier (URI).
  EscapeComponent Converts a URI string to its escaped representation.
  UnescapeComponent Converts the specified string by replacing any escape sequences with their unescaped representation.

See also

Reference

Uri Class

Windows.Foundation Namespace