IdentityUser<TKey>.Id 属性

定义

获取或设置此用户的主键。

public:
 virtual property TKey Id { TKey get(); void set(TKey value); };
public virtual TKey Id { get; set; }
[Microsoft.AspNetCore.Identity.PersonalData]
public virtual TKey Id { get; set; }
member this.Id : 'Key with get, set
[<Microsoft.AspNetCore.Identity.PersonalData>]
member this.Id : 'Key with get, set
Public Overridable Property Id As TKey

属性值

TKey
属性

适用于