UriTemplate.PathSegmentVariableNames Property

Gets a collection of variable names used within path segments in the template.

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

public ReadOnlyCollection<string> PathSegmentVariableNames { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
A collection of variable names that appear within the template's path segment.

The collection excludes the names of variables that appear in the query portion of the template.

The following example shows how to access the PathSegmentVariableNames property.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.