PathSegmentVariableNames Property
Collapse the table of content
Expand the table of content

UriTemplate.PathSegmentVariableNames Property


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

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

member PathSegmentVariableNames : ReadOnlyCollection<string> with 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.

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

.NET Framework
Available since 3.5
Available since 4.0
Return to top
© 2016 Microsoft