使用Windows :: Fundation :: Uri获取URI的参数部分

时间:2014-06-04 20:32:51

标签: c++ windows windows-8 windows-runtime

我使用Windows :: Fundation :: Uri(http://msdn.microsoft.com/en-us/library/windows/apps/windows.foundation.uri.aspx)来处理Uris。

但是,我找不到一个很好的方法来将URI的参数部分作为字符串输出,例如。

http://www.example.com?q=test&q2=test2

是否有一种通过使用Uri API获取q=test&q2=test2字符串的好方法?

谢谢

0 个答案:

没有答案
相关问题