語言

RouteCollection.AppendTrailingSlash 屬性

定義

取得或設定值,這個值表示虛擬路徑正規化時是否加入尾端斜線。

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

屬性值

true如果加上後方斜線;否則,。 false 預設值為 false。

適用於