silverlight获取web的url参数

1.网址(如:http://localhost:8081/index.aspx?name=123)

2.获取name=123的信息

3.IDictionary<string,string> dict = System.Windows.Browser.HtmlPage.Document.QueryString;

4. textblock.text=dict["name"]; 结果为123

原文地址:https://www.cnblogs.com/zxbzl/p/4018794.html