AjaxExtensions.BeginForm 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
BeginForm(AjaxHelper, String, String, Object, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, Object, AjaxOptions, Object) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, String, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, Object, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, AjaxOptions) |
将开始 <窗体> 标记写入响应。 |
BeginForm(AjaxHelper, String, String, Object, AjaxOptions)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * obj * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As Object, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- controllerName
- String
控制器的名称。
- routeValues
- Object
一个包含路由参数的对象。 通过检查对象的属性,利用反射检索参数。 此对象通常是使用对象初始值设定项语法创建的。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)
将开始 <窗体> 标记写入响应。
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<string,object> htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.Html.MvcForm
<Extension()>
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
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- controllerName
- String
控制器的名称。
- routeValues
- RouteValueDictionary
一个包含路由参数的对象。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
- htmlAttributes
- IDictionary<String,Object>
一个 对象,其中包含要为 元素设置的 HTML 属性。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * obj * System.Web.Mvc.Ajax.AjaxOptions * obj -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As Object, ajaxOptions As AjaxOptions, htmlAttributes As Object) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- controllerName
- String
控制器的名称。
- routeValues
- Object
一个包含路由参数的对象。 通过检查对象的属性,利用反射检索参数。 此对象通常是使用对象初始值设定项语法创建的。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
- htmlAttributes
- Object
一个 对象,其中包含要为 元素设置的 HTML 属性。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)
将开始 <窗体> 标记写入响应。
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);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- controllerName
- String
控制器的名称。
- routeValues
- RouteValueDictionary
一个包含路由参数的对象。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, Object, AjaxOptions, Object)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * obj * System.Web.Mvc.Ajax.AjaxOptions * obj -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As Object, ajaxOptions As AjaxOptions, htmlAttributes As Object) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- routeValues
- Object
一个包含路由参数的对象。 通过检查对象的属性,利用反射检索参数。 此对象通常是使用对象初始值设定项语法创建的。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
- htmlAttributes
- Object
一个 对象,其中包含要为 元素设置的 HTML 属性。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions, htmlAttributes As IDictionary(Of String, Object)) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- routeValues
- RouteValueDictionary
一个包含路由参数的对象。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
- htmlAttributes
- IDictionary<String,Object>
一个对象,其中包含要为该元素设置的 HTML 特性。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, String, AjaxOptions)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- controllerName
- String
控制器的名称。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, Object, AjaxOptions)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * obj * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As Object, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- routeValues
- Object
一个包含路由参数的对象。 通过检查对象的属性,利用反射检索参数。 此对象通常是使用对象初始值设定项语法创建的。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- routeValues
- RouteValueDictionary
一个包含路由参数的对象。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, String, AjaxOptions)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- actionName
- String
将处理请求的操作方法的名称。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。
适用于
BeginForm(AjaxHelper, AjaxOptions)
将开始 <窗体> 标记写入响应。
public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, ajaxOptions As AjaxOptions) As MvcForm
参数
- ajaxHelper
- AjaxHelper
AJAX 帮助器。
- ajaxOptions
- AjaxOptions
提供异步请求选项的对象。
返回
一个开始 <窗体> 标记。