ChangePasswordModel.InputModel.ConfirmPassword Właściwość
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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