Share via


SetPasswordModel.InputModel.ConfirmPassword Property

Definition

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

[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

Property Value

Attributes

Applies to