RoutePatternFactory.Segment Metoda
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Segment(IEnumerable<RoutePatternPart>) |
Tworzy obiekt RoutePatternPathSegment na podstawie udostępnionej kolekcji części. |
Segment(RoutePatternPart[]) |
Tworzy obiekt RoutePatternPathSegment na podstawie udostępnionej kolekcji części. |
- Źródło:
- RoutePatternFactory.cs
- Źródło:
- RoutePatternFactory.cs
Tworzy obiekt RoutePatternPathSegment na podstawie udostępnionej kolekcji części.
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
Parametry
- parts
- IEnumerable<RoutePatternPart>
Kolekcja części.
Zwraca
Element RoutePatternPathSegment.
Dotyczy
ASP.NET Core 9.0 i inne wersje
Produkt | Wersje |
---|---|
ASP.NET Core | 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Źródło:
- RoutePatternFactory.cs
- Źródło:
- RoutePatternFactory.cs
Tworzy obiekt RoutePatternPathSegment na podstawie udostępnionej kolekcji części.
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
Parametry
- parts
- RoutePatternPart[]
Kolekcja części.
Zwraca
Element RoutePatternPathSegment.
Dotyczy
ASP.NET Core 9.0 i inne wersje
Produkt | Wersje |
---|---|
ASP.NET Core | 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |