Share via


PageRouteMetadata(String, String) Constructor

Definition

Initializes a new instance of PageRouteMetadata.

public:
 PageRouteMetadata(System::String ^ pageRoute, System::String ^ routeTemplate);
public PageRouteMetadata (string pageRoute, string routeTemplate);
public PageRouteMetadata (string pageRoute, string? routeTemplate);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteMetadata : string * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteMetadata
Public Sub New (pageRoute As String, routeTemplate As String)

Parameters

pageRoute
String

The page route.

routeTemplate
String

The route template specified by the page.

Applies to