ResetPasswordModel.InputModel.ConfirmPassword 属性

定义

此 API 支持 ASP.NET Core 标识默认 UI 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

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

属性值

属性

适用于