Sdílet prostřednictvím


RouteValueAttribute(String, String) Konstruktor

Definice

Vytvoří nový objekt 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)

Parametry

routeKey
String

Klíč hodnoty trasy.

routeValue
String

Očekávaná hodnota trasy

Platí pro