ActionModel.RouteValues Propiedad

Definición

Obtiene una colección de valores de ruta que deben estar presentes en para Values que se seleccione la acción correspondiente.

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)

Valor de propiedad

Comentarios

El valor de ActionName se considera un valor de ruta implícito correspondiente a la clave action y el valor de ControllerName se considera un valor de ruta implícito correspondiente a la clave controller. Estas entradas se agregarán implícitamente a RouteValues cuando se cree el descriptor de acción, pero no estarán visibles en RouteValues.

Las entradas de RouteValues pueden invalidar las entradas de RouteValues.

Se aplica a