Partager via


UriTemplate.QueryValueVariableNames Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a collection of variable names used within the query string in the template.

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

Syntax

'Declaration
Public ReadOnly Property QueryValueVariableNames As ReadOnlyCollection(Of String)
public ReadOnlyCollection<string> QueryValueVariableNames { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
A collection of template variable names that appear in the query portion of the template string.

Remarks

This collection excludes variable names that appear in the path section of the template string.

Examples

The following example shows how to access the QueryValueVariableNames property.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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

See Also

Reference