TemplateSegment.ToRoutePatternPathSegment 方法

定义

返回 RoutePatternPathSegment 模板段的 。

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

返回

一个 RoutePatternPathSegment 实例。

适用于