RegisterModel.InputModel.Password Vlastnost

Definice

Toto rozhraní API podporuje výchozí infrastrukturu uživatelského rozhraní ASP.NET Core identity a není určená k použití přímo z kódu. Toto rozhraní API se může v budoucích verzích změnit nebo odebrat.

[System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)]
[System.ComponentModel.DataAnnotations.Display(Name="Password")]
[System.ComponentModel.DataAnnotations.Required]
[System.ComponentModel.DataAnnotations.StringLength(100, ErrorMessage="The {0} must be at least {2} and at max {1} characters long.", MinimumLength=6)]
public string Password { get; set; }
[<System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)>]
[<System.ComponentModel.DataAnnotations.Display(Name="Password")>]
[<System.ComponentModel.DataAnnotations.Required>]
[<System.ComponentModel.DataAnnotations.StringLength(100, ErrorMessage="The {0} must be at least {2} and at max {1} characters long.", MinimumLength=6)>]
member this.Password : string with get, set
Public Property Password As String

Hodnota vlastnosti

String
Atributy

Platí pro