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

属性值

适用于