共用方式為


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
屬性

適用於