UriTemplateMatch.RelativePathSegments Property

 

Gets a collection of relative path segments.

Namespace:   System
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

member RelativePathSegments : Collection<string> with get

Property Value

Type: System.Collections.ObjectModel.Collection<String>

A collection of relative path segments.

This property contains a collection of the path segments from the candidate URI that matched the template along with path segments that matched a template wildcard. Path segments that matched a template wildcard are also contained in the WildcardPathSegments property.

The following code shows how to access the RelativePathSegments property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: