Segments属性将会返回一个以“/”为分隔的URL数组,这个URL数组同时也是来自absolute path

例如:

Absolute URI

http://www.contoso.com/Chapters/Chapter1/Sections/Section1.htm

Absolute path

/Chapters/Chapter1/Sections/Section1.htm

Segments

/Chapters/Chapter1/Sections/Section1.htm

Absolute URI

http://www.contoso.com/Chapters/Chapter1/Sections/Section1.htm#page1?answer=NO

Absolute path

/Chapters/Chapter1/Sections/Section1.htm

Segments

/Chapters/Chapter1/Sections/Section1.htm

posted on 2012-04-11 10:21  染指的浮云  阅读(373)  评论(0编辑  收藏  举报