Share via


RouteValueAttribute(String, String) Constructor

Definition

Creates a new 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)

Parameters

routeKey
String

The route value key.

routeValue
String

The expected route value.

Applies to