Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Uri Properties

Uri Properties

The Uri type exposes the following members.

  Name Description
Public property Supported by the XNA Framework Supported by Portable Class Library AbsolutePath Gets the absolute path of the URI.
Public property Supported by the XNA Framework Supported by Portable Class Library AbsoluteUri Gets the absolute URI.
Public property Supported by the XNA Framework Supported by Portable Class Library Authority Gets the Domain Name System (DNS) host name or IP address and the port number for a server.
Public property Supported by the XNA Framework Supported by Portable Class Library DnsSafeHost Gets an unescaped host name that is safe to use for DNS resolution.
Public property Supported by the XNA Framework Supported by Portable Class Library Fragment Gets the escaped URI fragment.
Public property Supported by the XNA Framework Supported by Portable Class Library Host Gets the host component of this instance.
Public property Supported by the XNA Framework Supported by Portable Class Library HostNameType Gets the type of the host name specified in the URI.
Public property IdnHost The RFC 3490 compliant International Domain Name of the host, using Punycode as appropriate.
Public property Supported by the XNA Framework Supported by Portable Class Library IsAbsoluteUri Gets whether the Uri instance is absolute.
Public property Supported by the XNA Framework Supported by Portable Class Library IsDefaultPort Gets whether the port value of the URI is the default for this scheme.
Public property Supported by the XNA Framework Supported by Portable Class Library IsFile Gets a value indicating whether the specified Uri is a file URI.
Public property Supported by the XNA Framework Supported by Portable Class Library IsLoopback Gets whether the specified Uri references the local host.
Public property Supported by the XNA Framework Supported by Portable Class Library IsUnc Gets whether the specified Uri is a universal naming convention (UNC) path.
Public property Supported by the XNA Framework Supported by Portable Class Library LocalPath Gets a local operating-system representation of a file name.
Public property Supported by the XNA Framework Supported by Portable Class Library OriginalString Gets the original URI string that was passed to the Uri constructor.
Public property Supported by the XNA Framework Supported by Portable Class Library PathAndQuery Gets the AbsolutePath and Query properties separated by a question mark (?).
Public property Supported by the XNA Framework Supported by Portable Class Library Port Gets the port number of this URI.
Public property Supported by the XNA Framework Supported by Portable Class Library Query Gets any query information included in the specified URI.
Public property Supported by the XNA Framework Supported by Portable Class Library Scheme Gets the scheme name for this URI.
Public property Supported by the XNA Framework Supported by Portable Class Library Segments Gets an array containing the path segments that make up the specified URI.
Public property Supported by the XNA Framework Supported by Portable Class Library UserEscaped Indicates that the URI string was completely escaped before the Uri instance was created.
Public property Supported by the XNA Framework Supported by Portable Class Library UserInfo Gets the user name, password, or other user-specific information associated with the specified URI.
Top
Show:
© 2015 Microsoft