共用方式為


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

適用於