ViewExtensions.RenderAction<TController> Method (HtmlHelper, Expression<Action<TController>>)
Invokes the specified action method.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static void RenderAction<TController>(
this HtmlHelper helper,
Expression<Action<TController>> action
)
where TController : Controller
public:
generic<typename TController>
where TController : Controller
[ExtensionAttribute]
static void RenderAction(
HtmlHelper^ helper,
Expression<Action<TController>^>^ action
)
static member RenderAction<'TController when 'TController : Controller> :
helper:HtmlHelper *
action:Expression<Action<'TController>> -> unit
<ExtensionAttribute>
Public Shared Sub RenderAction(Of TController As Controller) (
helper As HtmlHelper,
action As Expression(Of Action(Of TController))
)
Parameters
helper
Type: System.Web.Mvc.HtmlHelperThe HTML helper instance that this method extends.
action
Type: System.Linq.Expressions.Expression<Action<TController>>The action method to invoke.
Type Parameters
- TController
See Also
ViewExtensions Class
Microsoft.Web.Mvc Namespace
Return to top