uri class : Segments getter
Description
Gets a list of the path segments that make up the URI.
Syntax
uriInstance.Segments
Arguments
None.
Return value
Class | Description |
list{string} | A list of the path segments that make up the URI. |
Sample code
1: | uri u = new uri("http://www.example.com/aaa/bbb/ccc.html"); |
2: | list{string} segments = u.Segments; |
Notes
It's a wrapper of the System.Uri.Segments property.