将一个开始的 < 窗体 > 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, System.Collections.Generic.IDictionary htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions * System.Collections.Generic.IDictionary -> System.Web.Mvc.Html.MvcForm
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions, htmlAttributes As IDictionary(Of String, Object)) As MvcForm
参数
ajaxHelper
AJAX 帮助器。
actionName
将处理请求的操作方法的名称。
controllerName
控制器的名称。
一个包含路由参数的对象。
ajaxOptions
提供异步请求选项的对象。
一个对象,该对象包含要为元素设置的 HTML 特性。
返回
开始的 < 窗体 > 标记。
适用于