uri class : LocalPath getter
Description
Gets a local operating-system representation of a file name.
Syntax
uriInstance.LocalPath
Arguments
None.
Return value
Class | Description |
string | A local operating-system representation of a file name. |
Sample code
1: | uri u = new uri("file:///c:/.../ccc.html"); |
2: | string path = u.LocalPath; |
Notes
It's a wrapper of the System.Uri.LocalPath property.