RouteBase.RouteExistingFiles 屬性(System.Web.Routing ... | routes routeexistingfiles
定義本文內容取得或設定值,指出ASP.NET路由是否應該處理符合現有檔案的URL。GetsorsetsavaluethatindicateswhetherASP.NETroutingshouldhandleURLsthatmatchanexistingfile.public:propertyboolRouteExistingFiles{boolget();voidset(boolvalue);};publicboolRouteExistingFiles{get;set;}memberthis.RouteExistingFiles:boolwithget,setPublicPropertyRouteExistingFilesAsBoolean屬性值Boolean[1]如果ASP.NET路由處理所有要求,甚至是符合現有檔案的要求,則為true;否則為false。trueifASP.NETroutinghandlesallrequests,eventhos...
定義 本文內容取得或設定值,指出 ASP.NET 路由是否應該處理符合現有檔案的 URL。Gets or sets a value that indicates whether ASP.NET routing should handle URLs that match an existing file.
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 屬性值 Boolean[1]如果 ASP.NET 路由處理所有要求,甚至是符合現有檔案的要求,則為 true;否則為 false。true if ASP.NET routing handles all requests, even those that match an existing file; otherwise, false. 預設值是 false。The default value is false.
適用於 References Boolean (docs.microsoft.com)