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