RouteAttribute(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 RouteAttribute with the given route template.
public:
RouteAttribute(System::String ^ template);
public RouteAttribute (string template);
new Microsoft.AspNetCore.Mvc.RouteAttribute : string -> Microsoft.AspNetCore.Mvc.RouteAttribute
Public Sub New (template As String)
Parameters
- template
- String
The route template. May not be null.