Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UriTemplate Constructor (String, Boolean)

UriTemplate Constructor (String, Boolean)

Initializes a new instance of the UriTemplate class.

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

public UriTemplate(
	string template,
	bool ignoreTrailingSlash
)

Parameters

template
Type: System.String
The template string.
ignoreTrailingSlash
Type: System.Boolean
A value that specifies whether trailing slash “/” characters should be ignored.

When the ignoreTrailingSlash is set to true, trailing slashes on the end of template are ignored when binding parameters to create a URI.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2015 Microsoft