Condividi tramite


HtmlHelper.GenerateTextBox Metodo

Definizione

Genera una casella di testo.

protected:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateTextBox(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, System::Object ^ value, System::String ^ format, System::Object ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateTextBox (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, object value, string format, object htmlAttributes);
abstract member GenerateTextBox : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * obj * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateTextBox : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * obj * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateTextBox (modelExplorer As ModelExplorer, expression As String, value As Object, format As String, htmlAttributes As Object) As IHtmlContent

Parametri

modelExplorer
ModelExplorer

Oggetto ModelExplorer.

expression
String

Espressione.

value
Object

Valore.

format
String

Formato.

htmlAttributes
Object

Oggetto Object contenente gli attributi HTML per l'elemento . In alternativa, un'istanza IDictionary<TKey,TValue> contenente gli attributi HTML.

Restituisce

Oggetto IHtmlContent.

Si applica a