共用方式為


IRouteBuilder.DefaultHandler 屬性

定義

取得或設定當做處理常式使用的預設值 IRouter ,如果 IRouter 新增至路由清單,但未指定其本身。

public:
 property Microsoft::AspNetCore::Routing::IRouter ^ DefaultHandler { Microsoft::AspNetCore::Routing::IRouter ^ get(); void set(Microsoft::AspNetCore::Routing::IRouter ^ value); };
public Microsoft.AspNetCore.Routing.IRouter DefaultHandler { get; set; }
public Microsoft.AspNetCore.Routing.IRouter? DefaultHandler { get; set; }
member this.DefaultHandler : Microsoft.AspNetCore.Routing.IRouter with get, set
Public Property DefaultHandler As IRouter

屬性值

適用於