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

Return Value

Type: System.Web.Mvc.Html.MvcForm

See Also

HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace

Return to top