Udostępnij za pośrednictwem


EnableAuthenticatorModel.InputModel.Code 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.DataType(System.ComponentModel.DataAnnotations.DataType.Text)]
[System.ComponentModel.DataAnnotations.Display(Name="Verification Code")]
[System.ComponentModel.DataAnnotations.Required]
[System.ComponentModel.DataAnnotations.StringLength(7, ErrorMessage="The {0} must be at least {2} and at max {1} characters long.", MinimumLength=6)]
public string Code { get; set; }
[<System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Text)>]
[<System.ComponentModel.DataAnnotations.Display(Name="Verification Code")>]
[<System.ComponentModel.DataAnnotations.Required>]
[<System.ComponentModel.DataAnnotations.StringLength(7, ErrorMessage="The {0} must be at least {2} and at max {1} characters long.", MinimumLength=6)>]
member this.Code : string with get, set
Public Property Code As String

Wartość właściwości

Atrybuty

Dotyczy