Share via


AbsolutePath Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the absolute path of the URI.

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

Syntax

'Declaration
Public ReadOnly Property AbsolutePath As String
public string AbsolutePath { get; }
public:
property String^ AbsolutePath {
    String^ get ();
}
member AbsolutePath : string with get
function get AbsolutePath () : String

Property Value

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

Exceptions

Exception Condition
InvalidOperationException

This instance represents a relative URI, and this property is valid only for absolute URIs.

Remarks

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.

.NET Framework Security

See Also

Reference

Uri Class

System Namespace