Partager via


AjaxHelper<TModel> Constructor (ViewContext, IViewDataContainer, RouteCollection)

Initializes a new instance of the AjaxHelper<TModel> class by using the specified view context, view data container, and URL route collection.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub New ( _
    viewContext As ViewContext, _
    viewDataContainer As IViewDataContainer, _
    routeCollection As RouteCollection _
)
public AjaxHelper(
    ViewContext viewContext,
    IViewDataContainer viewDataContainer,
    RouteCollection routeCollection
)
public:
AjaxHelper(
    ViewContext^ viewContext, 
    IViewDataContainer^ viewDataContainer, 
    RouteCollection^ routeCollection
)

Parameters

See Also

Reference

AjaxHelper<TModel> Class

AjaxHelper<TModel> Overload

System.Web.Mvc Namespace