Compartilhar via


InputExtensions.PasswordFor Method

Include Protected Members
Include Inherited Members

Returns a password input element for each property in the object that is represented by an expression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member PasswordFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>) Returns a password input element for each property in the object that is represented by the specified expression.
Public methodStatic member PasswordFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IDictionary<String, Object>) Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.
Public methodStatic member PasswordFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Object) Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

Top

See Also

Reference

InputExtensions Class

System.Web.Mvc.Html Namespace