Share via


Uri.AbsolutePath Property

Gets a local operating-system representation of a file name, including the path.

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

Syntax

public string AbsolutePath { get; }

Property Value

The local operating-system representation of a file name, including the path.

Exceptions

Exception type Condition
InvalidOperationException This instance represents a relative URI rather than an absolute URI.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

Uri Class
Uri Members
System Namespace