Dela via


RoutePatternPathSegment Class

Definition

Represents a path segment in a route pattern. Instances of RoutePatternPathSegment are immutable.

public ref class RoutePatternPathSegment sealed
public sealed class RoutePatternPathSegment
type RoutePatternPathSegment = class
Public NotInheritable Class RoutePatternPathSegment
Inheritance
RoutePatternPathSegment

Remarks

Route patterns are made up of URL path segments, delimited by /. A RoutePatternPathSegment contains a group of RoutePatternPart that represent the structure of a segment in a route pattern.

Properties

IsSimple

Returns true if the segment contains a single part; otherwise returns false.

Parts

Gets the list of parts in this segment.

Applies to