Edytuj

Udostępnij za pośrednictwem


RouteCollection.AppendTrailingSlash Property

Definition

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

public:
 property bool AppendTrailingSlash { bool get(); void set(bool value); };
public bool AppendTrailingSlash { get; set; }
member this.AppendTrailingSlash : bool with get, set
Public Property AppendTrailingSlash As Boolean

Property Value

true if trailing slashes are added; otherwise, false. The default is false.

Applies to