IdentityUser<TKey>.PhoneNumber 属性

定义

获取或设置用户的电话号码。

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

属性值

属性

适用于