PageRouteModel.RouteParameterTransformer 属性

定义

获取或设置 IOutboundParameterTransformer 将用于将内置路由参数(如 actioncontrollerarea )以及 指定 RouteValues 的其他参数转换为路由模板中的静态段的 。

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

属性值

注解

此功能仅在使用终结点路由时适用。

适用于