AjaxHelper<TModel> Constructors
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.
Overloads
AjaxHelper<TModel>(ViewContext, IViewDataContainer) |
Initializes a new instance of the AjaxHelper<TModel> class by using the specified view context and view data container. |
AjaxHelper<TModel>(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. |
AjaxHelper<TModel>(ViewContext, IViewDataContainer)
Initializes a new instance of the AjaxHelper<TModel> class by using the specified view context and view data container.
public AjaxHelper (System.Web.Mvc.ViewContext viewContext, System.Web.Mvc.IViewDataContainer viewDataContainer);
new System.Web.Mvc.AjaxHelper<'Model> : System.Web.Mvc.ViewContext * System.Web.Mvc.IViewDataContainer -> System.Web.Mvc.AjaxHelper<'Model>
Public Sub New (viewContext As ViewContext, viewDataContainer As IViewDataContainer)
Parameters
- viewContext
- ViewContext
The view context.
- viewDataContainer
- IViewDataContainer
The view data container.
Applies to
AjaxHelper<TModel>(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.
public AjaxHelper (System.Web.Mvc.ViewContext viewContext, System.Web.Mvc.IViewDataContainer viewDataContainer, System.Web.Routing.RouteCollection routeCollection);
new System.Web.Mvc.AjaxHelper<'Model> : System.Web.Mvc.ViewContext * System.Web.Mvc.IViewDataContainer * System.Web.Routing.RouteCollection -> System.Web.Mvc.AjaxHelper<'Model>
Public Sub New (viewContext As ViewContext, viewDataContainer As IViewDataContainer, routeCollection As RouteCollection)
Parameters
- viewContext
- ViewContext
The view context.
- viewDataContainer
- IViewDataContainer
The view data container.
- routeCollection
- RouteCollection
The URL route collection.