Compartilhar via


UriTemplate.IgnoreTrailingSlash Property

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

Specifies whether trailing slashes “/” in the template should be ignored when binding parameters to create a URI.

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

Syntax

'Declaration
Public ReadOnly Property IgnoreTrailingSlash As Boolean
public bool IgnoreTrailingSlash { get; }

Property Value

Type: System.Boolean
true if trailing slashes “/” should be ignored, otherwise false.

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