Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UriTemplateMatch::RelativePathSegments Property

 

Gets a collection of relative path segments.

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

public:
property Collection<String^>^ RelativePathSegments {
	Collection<String^>^ 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:
© 2017 Microsoft