AjaxExtensions.BeginRouteForm 方法

定義

多載

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 Helper。

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 Helper。

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 Helper。

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 Helper。

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 Helper。

routeName
String

用來取得表單張貼 URL 之路徑的名稱。

routeValues
RouteValueDictionary

包含路徑參數的物件。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

htmlAttributes
IDictionary<String,Object>

物件,包含要針對項目設定的 HTML 屬性。

傳回

開啟 < 的表單 > 標籤。

適用於