HtmlHelper.GenerateHidden Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Générez un masqué.
protected:
virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateHidden(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, System::Object ^ value, bool useViewData, System::Object ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateHidden (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, object value, bool useViewData, object htmlAttributes);
abstract member GenerateHidden : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * obj * bool * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateHidden : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * obj * bool * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateHidden (modelExplorer As ModelExplorer, expression As String, value As Object, useViewData As Boolean, htmlAttributes As Object) As IHtmlContent
Paramètres
- modelExplorer
- ModelExplorer
- expression
- String
- value
- Object
- useViewData
- Boolean
- htmlAttributes
- Object
Object qui contient les attributs HTML de l’élément . IDictionary<TKey,TValue> Une instance contenant les attributs HTML.
Retours
L’IHtmlContentopérateur