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

屬性值

Boolean

如果加入結尾斜線,則為 true,否則為 false。 預設為 false

適用於