BeginAreaForm (IHtmlHelper html, String actionName, String controllerName, String areaName, FormMethod method)
Name | Type |
---|---|
html | Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper |
actionName |
String
The action name. |
controllerName |
String
The controller name. |
areaName |
String
The area name. |
method |
Microsoft.AspNetCore.Mvc.Rendering.FormMethod
The HTTP method for processing the form, either GET or POST. |
BeginAreaForm (IHtmlHelper html, String actionName, String controllerName, String areaName, FormMethod method, Object htmlAttributes)
Name | Type |
---|---|
html | Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper |
actionName |
String
The action name. |
controllerName |
String
The controller name. |
areaName |
String
The area name. |
method |
Microsoft.AspNetCore.Mvc.Rendering.FormMethod
The HTTP method for processing the form, either GET or POST. |
htmlAttributes |
Object
An T:System.Object that contains the HTML attributes for the element. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the HTML attributes. |
BeginAreaForm (IHtmlHelper html, String actionName, String controllerName, String areaName, Object routeValues, FormMethod method, Object htmlAttributes)
Name | Type |
---|---|
html | Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper |
actionName |
String
The action name. |
controllerName |
String
The controller name. |
areaName |
String
The area name. |
routeValues |
Object
An T:System.Object that contains the parameters for a route. The parameters are retrieved through reflection by examining the properties of the Object. This Object is typically created using Object initializer syntax. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the route parameters. |
method |
Microsoft.AspNetCore.Mvc.Rendering.FormMethod
The HTTP method for processing the form, either GET or POST. |
htmlAttributes |
Object
An T:System.Object that contains the HTML attributes for the element. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the HTML attributes. |