Partager via


HtmlHelper.GeneratePassword(ModelExplorer, String, Object, Object) Méthode

Définition

Générez un mot de passe.

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

Paramètres

modelExplorer
ModelExplorer

L’ModelExploreropérateur

expression
String

Expression.

value
Object

Valeur du mot de passe.

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

S’applique à