Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Uri Properties

The properties of the Uri class are listed here. For a complete list of Uri class members, see the Uri Members topic.

Public Properties

public propertyAbsolutePath

Supported by the .NET Compact Framework.

Gets the absolute path of the URI.
public propertyAbsoluteUri

Supported by the .NET Compact Framework.

Gets the absolute URI.
public propertyAuthority

Supported by the .NET Compact Framework.

Gets the Domain Name System (DNS) host name or IP address and the port number for a server.
public propertyFragment

Supported by the .NET Compact Framework.

Gets the escaped fragment.
public propertyHost

Supported by the .NET Compact Framework.

Gets the Domain Name System (DNS) host name, or IP address of the server specified in the URI.
public propertyHostNameType

Supported by the .NET Compact Framework.

Returns the type of the host name specified in the URI.
public propertyIsDefaultPort

Supported by the .NET Compact Framework.

Gets a value indicating whether the port value of the URI is the default for this scheme.
public propertyIsFile

Supported by the .NET Compact Framework.

Gets a value indicating whether the specified Uri is a file URI.
public propertyIsLoopback

Supported by the .NET Compact Framework.

Gets a value indicating whether the specified Uri references the local host.
public propertyIsUnc

Supported by the .NET Compact Framework.

Gets a value indicating whether the specified Uri is a universal naming convention (UNC) path.
public propertyLocalPath

Supported by the .NET Compact Framework.

Gets a local operating-system representation of a file name.
public propertyPathAndQuery

Supported by the .NET Compact Framework.

Gets the AbsolutePath and Query properties separated by a question mark (?).
public propertyPort

Supported by the .NET Compact Framework.

Gets the port number of the specified URI.
public propertyQuery

Supported by the .NET Compact Framework.

Gets any query information included in the specified URI.
public propertyScheme

Supported by the .NET Compact Framework.

Gets the scheme name of the specified URI.
public propertySegments

Supported by the .NET Compact Framework.

Gets an array of the segments that make up the specified URI.
public propertyUserEscaped

Supported by the .NET Compact Framework.

Indicates that the URI string was escaped before the Uri instance was created.
public propertyUserInfo

Supported by the .NET Compact Framework.

Gets the user name, password, and other user-specific information associated with the specified URI.

See Also

Uri Class | System Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft