Share via


Uri.Path Property

Definition

Gets the path and resource name component of the Uniform Resource Identifier (URI) as stored in this Uri instance.

public:
 property Platform::String ^ Path { Platform::String ^ get(); };
winrt::hstring Path();
public string Path { get; }
var string = uri.path;
Public ReadOnly Property Path As String

Property Value

String

Platform::String

winrt::hstring

The path, including the resource name, and including the extension. Does not include query or fragment.

Applies to