HtmlHelper.Password Method

Include Protected Members
Include Inherited Members

Returns an HTML password control for use in a web page.

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 method Password(String) Returns an HTML password control that has the specified name.
Public method Password(String, Object) Returns an HTML password control that has the specified name and value.
Public method Password(String, Object, IDictionary<String, Object>) Returns an HTML password control that has the specified name, value, and custom attributes defined by an attribute dictionary.
Public method Password(String, Object, Object) Returns an HTML password control that has the specified name, value, and custom attributes defined by an attribute object.

Top

Remarks

The HTML password control is returned as HTML markup that can be used to render the control in a web page.

See Also

Reference

HtmlHelper Class

System.Web.WebPages.Html Namespace