Share via


UrlHelper(ActionContext) Constructor

Definition

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.

Applies to