共用方式為


IdentityUserRole<TKey>.UserId 屬性

定義

取得或設定連結至角色之使用者的主鍵。

public:
 virtual property TKey UserId { TKey get(); void set(TKey value); };
public virtual TKey UserId { get; set; }
member this.UserId : 'Key with get, set
Public Overridable Property UserId As TKey

屬性值

TKey

適用於