UrlHelper(ActionContext) 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 the UrlHelper class using the specified
actionContext
.
public:
UrlHelper(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext);
public UrlHelper (Microsoft.AspNetCore.Mvc.ActionContext actionContext);
new Microsoft.AspNetCore.Mvc.Routing.UrlHelper : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.Routing.UrlHelper
Public Sub New (actionContext As ActionContext)
Parameters
- actionContext
- ActionContext
The ActionContext for the current request.