RoutePatternFactory.Segment Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Segment(IEnumerable<RoutePatternPart>) |
Crea un objeto RoutePatternPathSegment a partir de la colección de elementos proporcionada. |
Segment(RoutePatternPart[]) |
Crea un objeto RoutePatternPathSegment a partir de la colección de elementos proporcionada. |
Segment(IEnumerable<RoutePatternPart>)
- Source:
- RoutePatternFactory.cs
- Source:
- RoutePatternFactory.cs
Crea un objeto RoutePatternPathSegment a partir de la colección de elementos proporcionada.
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
Parámetros
- parts
- IEnumerable<RoutePatternPart>
Colección de partes.
Devoluciones
Se aplica a
Segment(RoutePatternPart[])
- Source:
- RoutePatternFactory.cs
- Source:
- RoutePatternFactory.cs
Crea un objeto RoutePatternPathSegment a partir de la colección de elementos proporcionada.
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
Parámetros
- parts
- RoutePatternPart[]
Colección de partes.