Share via


PageRouteModel.RouteValues Property

Definition

Gets a collection of route values that must be present in the Values for the corresponding page to be selected.

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ RouteValues { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,string> RouteValues { get; }
member this.RouteValues : System.Collections.Generic.IDictionary<string, string>
Public ReadOnly Property RouteValues As IDictionary(Of String, String)

Property Value

Remarks

The value of ViewEnginePath is considered an implicit route value corresponding to the key page.

The value of AreaName is considered an implicit route value corresponding to the key area when AreaName is not null.

These entries will be implicitly added to RouteValues when the action descriptor is created, but will not be visible in RouteValues.

Applies to