Try our conversational search powered by Generative AI!

Class RouteArguments

Used as argument in for example Route(String, RouteArguments).

Inheritance
System.Object
RouteArguments
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class RouteArguments

Constructors

RouteArguments()

Declaration
public RouteArguments()

Properties

ContextMode

Gets or sets the mode for the links.

Declaration
public ContextMode ContextMode { get; set; }
Property Value
Type Description
ContextMode
Remarks

If not explicitly set it will use current ContextMode

MatchContentRouteConstraints

This property is used to indicate whether we should match content route constraints when routing.

Declaration
public bool MatchContentRouteConstraints { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods