Freigeben über


RouteValueAttribute(String, String) Konstruktor

Definition

Erstellt einen neuen 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)

Parameter

routeKey
String

Der Routenwertschlüssel.

routeValue
String

Der erwartete Routenwert.

Gilt für: