Udostępnij za pośrednictwem


MvcForm(ViewContext, HtmlEncoder) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy MvcForm.

public:
 MvcForm(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public MvcForm (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Mvc.Rendering.MvcForm : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Mvc.Rendering.MvcForm
Public Sub New (viewContext As ViewContext, htmlEncoder As HtmlEncoder)

Parametry

viewContext
ViewContext

Element ViewContext.

htmlEncoder
HtmlEncoder

Element HtmlEncoder.

Dotyczy