Compartilhar via


HtmlHelper.CreateForm Método

Definição

Substitua esse método para retornar uma MvcForm subclasse. Essa subclasse pode alterar o EndForm() comportamento.

protected:
 virtual Microsoft::AspNetCore::Mvc::Rendering::MvcForm ^ CreateForm();
protected virtual Microsoft.AspNetCore.Mvc.Rendering.MvcForm CreateForm ();
abstract member CreateForm : unit -> Microsoft.AspNetCore.Mvc.Rendering.MvcForm
override this.CreateForm : unit -> Microsoft.AspNetCore.Mvc.Rendering.MvcForm
Protected Overridable Function CreateForm () As MvcForm

Retornos

Uma nova instância de MvcForm.

Aplica-se a