HtmlHelperExtensions.BeginRouteForm Method (HtmlHelper, String, RouteValueDictionary, FormMethod, String, String, String, String, String, String, String, String, String, String)
Namespace: Microsoft.Web.Mvc.Html
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static MvcForm BeginRouteForm(
this HtmlHelper htmlHelper,
string routeName,
RouteValueDictionary routeValues = null,
FormMethod method = FormMethod.Post,
string accept = null,
string acceptCharset = null,
string cssClass = null,
string dir = null,
string encType = null,
string id = null,
string lang = null,
string name = null,
string style = null,
string title = null
)
public:
[ExtensionAttribute]
static MvcForm^ BeginRouteForm(
HtmlHelper^ htmlHelper,
String^ routeName,
RouteValueDictionary^ routeValues = null,
FormMethod method = FormMethod::Post,
String^ accept = null,
String^ acceptCharset = null,
String^ cssClass = null,
String^ dir = null,
String^ encType = null,
String^ id = null,
String^ lang = null,
String^ name = null,
String^ style = null,
String^ title = null
)
static member BeginRouteForm :
htmlHelper:HtmlHelper *
routeName:string *
routeValues:RouteValueDictionary = null *
method:FormMethod = FormMethod.Post *
accept:string = null *
acceptCharset:string = null *
cssClass:string = null *
dir:string = null *
encType:string = null *
id:string = null *
lang:string = null *
name:string = null *
style:string = null *
title:string = null -> MvcForm
<ExtensionAttribute>
Public Shared Function BeginRouteForm (
htmlHelper As HtmlHelper,
routeName As String,
routeValues As RouteValueDictionary,
method As FormMethod,
accept As String,
acceptCharset As String,
cssClass As String,
dir As String,
encType As String,
id As String,
lang As String,
name As String,
style As String,
title As String
) As MvcForm
Parameters
- htmlHelper
Type: System.Web.Mvc.HtmlHelper
- routeName
Type: System.String
- routeValues
Type: System.Web.Routing.RouteValueDictionary
- method
Type: System.Web.Mvc.FormMethod
- accept
Type: System.String
- acceptCharset
Type: System.String
- cssClass
Type: System.String
- dir
Type: System.String
- encType
Type: System.String
- id
Type: System.String
- lang
Type: System.String
- name
Type: System.String
- style
Type: System.String
- title
Type: System.String
Return Value
Type: System.Web.Mvc.Html.MvcForm
See Also
HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace
Return to top