Aracılığıyla paylaş


RouteValueAttribute(String, String) Oluşturucu

Tanım

Yeni bir RouteValueAttribute oluşturur.

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)

Parametreler

routeKey
String

Yol değeri anahtarı.

routeValue
String

Beklenen yol değeri.

Şunlara uygulanır