HtmlHelperExtensions.Password Method (HtmlHelper, String, Object, String, String, Boolean, String, String, Nullable<Int32>, Boolean, Nullable<Int32>, String, Nullable<Int32>, String)

 

Namespace:   Microsoft.Web.Mvc.Html
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public static MvcHtmlString Password(
    this HtmlHelper htmlHelper,
    string name,
    object value = null,
    string cssClass = null,
    string dir = null,
    bool disabled = false,
    string id = null,
    string lang = null,
    Nullable<int> maxLength = null,
    bool readOnly = false,
    Nullable<int> size = null,
    string style = null,
    Nullable<int> tabIndex = null,
    string title = null
)
public:
[ExtensionAttribute]
static MvcHtmlString^ Password(
    HtmlHelper^ htmlHelper,
    String^ name,
    Object^ value = null,
    String^ cssClass = null,
    String^ dir = null,
    bool disabled = false,
    String^ id = null,
    String^ lang = null,
    Nullable<int> maxLength = null,
    bool readOnly = false,
    Nullable<int> size = null,
    String^ style = null,
    Nullable<int> tabIndex = null,
    String^ title = null
)
static member Password : 
        htmlHelper:HtmlHelper *
        name:string *
        value:Object = null *
        cssClass:string = null *
        dir:string = null *
        disabled:bool = false *
        id:string = null *
        lang:string = null *
        maxLength:Nullable<int> = null *
        readOnly:bool = false *
        size:Nullable<int> = null *
        style:string = null *
        tabIndex:Nullable<int> = null *
        title:string = null -> MvcHtmlString
<ExtensionAttribute>
Public Shared Function Password (
    htmlHelper As HtmlHelper,
    name As String,
    value As Object,
    cssClass As String,
    dir As String,
    disabled As Boolean,
    id As String,
    lang As String,
    maxLength As Nullable(Of Integer),
    readOnly As Boolean,
    size As Nullable(Of Integer),
    style As String,
    tabIndex As Nullable(Of Integer),
    title As String
) As MvcHtmlString

Parameters

Return Value

Type: System.Web.Mvc.MvcHtmlString

See Also

HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace

Return to top