AbsolutePath Property

Uri.AbsolutePath Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the absolute path of the URI.

Namespace:  System
Assembly:  System (in System.dll)

public string AbsolutePath { get; }

Property Value

Type: System.String
A String containing the absolute path to the resource.

ExceptionCondition
InvalidOperationException

This property is valid only for an absolute Uri instance.

The AbsolutePath property contains the path information that the server uses to resolve requests for information. Typically this is the path to the desired information on the server's file system, although it also can indicate the application or script the server must run to provide the information.

The path information does not include the scheme, host name, or query portion of the URI.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft