RouteAttribute(String) Constructor

Definition

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.

Applies to