uri class : OriginalString getter

Description

Gets the original URI string that was passed to this instance.

Syntax

uriInstance.OriginalString

Arguments

None

Return value

ClassDescription
stringThe original URI string that was passed to this instance.

Sample code

1:

uri u = new uri("http://www.example.com/aaa/bbb.html");

2:

string original = u.OriginalString;

Notes

It's a wrapper of the System.Uri.OriginalString property.

Links for reference

Copyright © Cooker All rights reserved.