RouteValueAttribute(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.