uri class : LocalPath getter

Description

Gets a local operating-system representation of a file name.

Syntax

uriInstance.LocalPath

Arguments

None.

Return value

ClassDescription
stringA 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.

Links for reference

Copyright © Cooker All rights reserved.