PageRouteMetadata(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.
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.