Delen via


IdentityUser<TKey>.PhoneNumber Property

Definition

Gets or sets a telephone number for the user.

public:
 virtual property System::String ^ PhoneNumber { System::String ^ get(); void set(System::String ^ value); };
public virtual string PhoneNumber { get; set; }
[Microsoft.AspNetCore.Identity.ProtectedPersonalData]
public virtual string PhoneNumber { get; set; }
[Microsoft.AspNetCore.Identity.ProtectedPersonalData]
public virtual string? PhoneNumber { get; set; }
member this.PhoneNumber : string with get, set
[<Microsoft.AspNetCore.Identity.ProtectedPersonalData>]
member this.PhoneNumber : string with get, set
Public Overridable Property PhoneNumber As String

Property Value

Attributes

Applies to