MvcForm.EndForm Method

Ends the form and disposes of all form resources.

Namespace:  System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub EndForm
public void EndForm()
public:
void EndForm()

Remarks

This method calls Dispose with the disposing parameter set to true.

See Also

Reference

MvcForm Class

System.Web.Mvc.Html Namespace