Condividi tramite


SetPasswordModel.InputModel.NewPassword Proprietà

Definizione

Questa API supporta l'infrastruttura dell'interfaccia utente predefinita di ASP.NET Core Identity e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

[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

Valore della proprietà

Attributi

Si applica a