Share via


RouteAttribute(String) Constructor

Definition

Constructs an instance of RouteAttribute.

public:
 RouteAttribute(System::String ^ template);
public RouteAttribute (string template);
new Microsoft.AspNetCore.Components.RouteAttribute : string -> Microsoft.AspNetCore.Components.RouteAttribute
Public Sub New (template As String)

Parameters

template
String

The route template.

Applies to