Поделиться через


HtmlHelper.GeneratePassword(ModelExplorer, String, Object, Object) Метод

Определение

Создайте пароль.

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

Параметры

modelExplorer
ModelExplorer

ModelExplorer.

expression
String

Выражение.

value
Object

Значение пароля.

htmlAttributes
Object

Объект , Object содержащий атрибуты HTML для элемента . Кроме того, экземпляр , IDictionary<TKey,TValue> содержащий атрибуты HTML.

Возвращаемое значение

IHtmlContent.

Применяется к