Share via


RouteBase.RouteExistingFiles 屬性

定義

取得或設定值,指出 ASP.NET 路由是否應該處理符合現有檔案的 URL。

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

屬性值

如果 ASP.NET 路由處理所有要求,甚至是符合現有檔案的要求,則為 true;否則為 false。 預設值是 false

適用於