Udostępnij za pośrednictwem


SetPasswordModel.InputModel.ConfirmPassword Właściwość

Definicja

Ten interfejs API obsługuje domyślną infrastrukturę interfejsu użytkownika ASP.NET Core Identity i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.

[System.ComponentModel.DataAnnotations.Compare("NewPassword", ErrorMessage="The new password and confirmation password do not match.")]
[System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)]
[System.ComponentModel.DataAnnotations.Display(Name="Confirm new password")]
public string ConfirmPassword { get; set; }
[System.ComponentModel.DataAnnotations.Compare("NewPassword", ErrorMessage="The new password and confirmation password do not match.")]
[System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)]
[System.ComponentModel.DataAnnotations.Display(Name="Confirm new password")]
public string? ConfirmPassword { get; set; }
[<System.ComponentModel.DataAnnotations.Compare("NewPassword", ErrorMessage="The new password and confirmation password do not match.")>]
[<System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Password)>]
[<System.ComponentModel.DataAnnotations.Display(Name="Confirm new password")>]
member this.ConfirmPassword : string with get, set
Public Property ConfirmPassword As String

Wartość właściwości

Atrybuty

Dotyczy