AjaxHelper(Of TModel) Constructor (ViewContext, IViewDataContainer, RouteCollection)
Initializes a new instance of the AjaxHelper(Of 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)
'Declaration Public Sub New ( _ viewContext As ViewContext, _ viewDataContainer As IViewDataContainer, _ routeCollection As RouteCollection _ ) 'Usage Dim viewContext As ViewContext Dim viewDataContainer As IViewDataContainer Dim routeCollection As RouteCollection Dim instance As New AjaxHelper(viewContext, _ viewDataContainer, routeCollection)
Parameters
- viewContext
- Type: System.Web.Mvc.ViewContext
The view context.
- viewDataContainer
- Type: System.Web.Mvc.IViewDataContainer
The view data container.
- routeCollection
- Type: System.Web.Routing.RouteCollection
The URL route collection.
Show: