uri class : PathAndQuery getter

Description

Gets the AbsolutePath and Query properties separated by a question mark.

Syntax

uriInstance.PathAndQuery

Arguments

None.

Return value

ClassDescription
stringThe AbsolutePath and Query properties separated by a question mark.

Sample code

1:

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

2:

string pAndQ = u.PathAndQuery;

Notes

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

Links for reference

Copyright © Cooker All rights reserved.