Compartilhar via


RouteValueAttribute(String, String) Construtor

Definição

Cria um novo 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

A chave de valor da rota.

routeValue
String

O valor de rota esperado.

Aplica-se a