RoutePatternParameterPart Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a parameter part in a route pattern. Instances of RoutePatternParameterPart are immutable.
public ref class RoutePatternParameterPart sealed : Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart
public sealed class RoutePatternParameterPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart
type RoutePatternParameterPart = class
inherit RoutePatternPart
Public NotInheritable Class RoutePatternParameterPart
Inherits RoutePatternPart
- Inheritance
Properties
Default |
Gets the default value of this route parameter. May be null. |
EncodeSlashes |
Gets the value indicating if slashes in current parameter's value should be encoded. |
IsCatchAll |
Returns |
IsLiteral |
Returns |
IsOptional |
Returns |
IsParameter |
Returns |
IsSeparator |
Returns |
Name |
Gets the parameter name. |
ParameterKind |
Gets the RoutePatternParameterKind of this parameter. |
ParameterPolicies |
Gets the list of parameter policies associated with this parameter. |
PartKind |
Gets the RoutePatternPartKind of this part. (Inherited from RoutePatternPart) |