Mono Class Library: System.Uri Overview | Members

System.Uri.LocalPath Property

Gets the local operating-system representation of the resource identified by the current instance. [Edit]

public string LocalPath { get; }

Value

A string containing the local representation of the resource identified by the current instance. [Edit]

Remarks

This property is read-only.

If the Uri.Scheme of the current instance is not equal to Uri.UriSchemeFile, this property returns the same value as Uri.AbsolutePath .

If the scheme is equal to Uri.UriSchemeFile, this property returns an unescaped platform-dependent local representation of the file name.

[Edit]

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0