共用方式為


IndexModel.InputModel.PhoneNumber 屬性

定義

此 API 支援 ASP.NET Core身分識別預設 UI 基礎結構,不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

[System.ComponentModel.DataAnnotations.Display(Name="Phone number")]
[System.ComponentModel.DataAnnotations.Phone]
public string PhoneNumber { get; set; }
[<System.ComponentModel.DataAnnotations.Display(Name="Phone number")>]
[<System.ComponentModel.DataAnnotations.Phone>]
member this.PhoneNumber : string with get, set
Public Property PhoneNumber As String

屬性值

屬性

適用於