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