Home Notices Documents Classes Download Others Rice
Classes  >  uri  >  Segments
uri class : Segments getter

Description

Gets a list of the path segments that make up the URI.

Syntax

uriInstance.Segments

Arguments

None.

Return value

ClassDescription
list{string}A list of the path segments that make up the URI.

Sample code

1:

uri u = new uri("http://www.somewhere.com/aaa/bbb/ccc.html");

2:

list{string} segments = u.Segments;

Notes

It's a wrapper of the System.Uri.Segments property.

Links for reference

Copyright © Rice All rights reserved.