System.Uri类中有
Fragment属性
------------------------------
Fragment 属性获取 URI 中跟在片段标记 (#) 后的任何文本,包括片段标记本身。已知 URI http://www.contoso.com/index.htm#main,片段属性将获取 #main。
---------------
msdn上这么说的
#具体是什么用请教一下大家
...全文
1691打赏收藏
转义片段#什么用??
System.Uri类中有 Fragment属性 ------------------------------ Fragment 属性获取 URI 中跟在片段标记 (#) 后的任何文本,包括片段标记本身。已知 URI http://www.contoso.com/index.htm#main,片段属性将获取 #main。 --------------- msdn上这么说的 #具体是什么用请教一下大家