RoutePatternFactory.Segment 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Segment(IEnumerable<RoutePatternPart>) |
RoutePatternPathSegment从提供的部件集合创建 。 |
Segment(RoutePatternPart[]) |
RoutePatternPathSegment从提供的部件集合创建 。 |
Segment(IEnumerable<RoutePatternPart>)
- Source:
- RoutePatternFactory.cs
- Source:
- RoutePatternFactory.cs
RoutePatternPathSegment从提供的部件集合创建 。
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^ Segment(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart ^> ^ parts);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment Segment (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart> parts);
static member Segment : seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart> -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment
Public Shared Function Segment (parts As IEnumerable(Of RoutePatternPart)) As RoutePatternPathSegment
参数
- parts
- IEnumerable<RoutePatternPart>
部件的集合。
返回
适用于
Segment(RoutePatternPart[])
- Source:
- RoutePatternFactory.cs
- Source:
- RoutePatternFactory.cs
RoutePatternPathSegment从提供的部件集合创建 。
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^ Segment(... cli::array <Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart ^> ^ parts);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment Segment (params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart[] parts);
static member Segment : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment
Public Shared Function Segment (ParamArray parts As RoutePatternPart()) As RoutePatternPathSegment
参数
- parts
- RoutePatternPart[]
部件的集合。