Udostępnij za pośrednictwem


RouteValueAttribute(String, String) Konstruktor

Definicja

Tworzy nowy adres 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

Klucz wartości trasy.

routeValue
String

Oczekiwana wartość trasy.

Dotyczy