Sdílet prostřednictvím


SetPasswordModel.InputModel.NewPassword 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 vašeho kódu. Toto rozhraní API se může změnit nebo odebrat v budoucích verzích.

[System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)]
[System.ComponentModel.DataAnnotations.Display(Name="New 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 NewPassword { get; set; }
[<System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)>]
[<System.ComponentModel.DataAnnotations.Display(Name="New 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.NewPassword : string with get, set
Public Property NewPassword As String

Hodnota vlastnosti

Atributy

Platí pro