ActionModel.RouteValues Property
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.
Gets a collection of route values that must be present in the Values for the corresponding action 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; }
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 ActionName is considered an implicit route value corresponding to the key action
and the value of ControllerName is considered an implicit route value corresponding to the key controller
. These entries will be implicitly added to RouteValues when the action descriptor is created, but will not be visible in RouteValues.
Entries in RouteValues can override entries in RouteValues.