Compartir a través de


RouteValueAttribute(String, String) Constructor

Definición

Crea un nuevo RouteValueAttribute.

protected:
 RouteValueAttribute(System::String ^ routeKey, System::String ^ routeValue);
protected RouteValueAttribute (string routeKey, string routeValue);
new Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute : string * string -> Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute
Protected Sub New (routeKey As String, routeValue As String)

Parámetros

routeKey
String

Clave de valor de ruta.

routeValue
String

Valor de ruta esperado.

Se aplica a