Export (0) Print
Expand All

RouteCollection.AppendTrailingSlash Property

.NET Framework 4.6 and 4.5

Gets or sets a value that indicates whether trailing slashes are added when virtual paths are normalized.

Namespace:  System.Web.Routing
Assembly:  System.Web (in System.Web.dll)

public bool AppendTrailingSlash { get; set; }

Property Value

Type: System.Boolean
true if trailing slashes are added; otherwise, false. The default is false.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft