RouteTemplate.ToRoutePattern 方法

定义

RouteTemplate 转换为等效的 RoutePattern

public:
 Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ ToRoutePattern();
public Microsoft.AspNetCore.Routing.Patterns.RoutePattern ToRoutePattern ();
member this.ToRoutePattern : unit -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Function ToRoutePattern () As RoutePattern

返回

一个 RoutePattern

适用于