共用方式為


UrlHelper.Router 屬性

定義

取得與目前要求相關聯的最上層 IRouter 。 一般而言,實作。 IRouteCollection

protected:
 property Microsoft::AspNetCore::Routing::IRouter ^ Router { Microsoft::AspNetCore::Routing::IRouter ^ get(); };
protected Microsoft.AspNetCore.Routing.IRouter Router { get; }
member this.Router : Microsoft.AspNetCore.Routing.IRouter
Protected ReadOnly Property Router As IRouter

屬性值

適用於