uri class : Query getter

Description

Gets the query information included in the URI.

Syntax

uriInstance.Query

Arguments

None.

Return value

ClassDescription
stringThe query information included in the URI.

Sample code

1:

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

2:

string query = u.Query;

Notes

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

Links for reference

Copyright © Cooker All rights reserved.