IUrlHelperFactory.GetUrlHelper(ActionContext) Method

Definition

Gets an IUrlHelper for the request associated with context.

public:
 Microsoft::AspNetCore::Mvc::IUrlHelper ^ GetUrlHelper(Microsoft::AspNetCore::Mvc::ActionContext ^ context);
public Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper (Microsoft.AspNetCore.Mvc.ActionContext context);
abstract member GetUrlHelper : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.IUrlHelper
Public Function GetUrlHelper (context As ActionContext) As IUrlHelper

Parameters

context
ActionContext

The ActionContext associated with the current request.

Returns

An IUrlHelper for the request associated with context

Applies to