IdentityUserClaim<TKey> 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示使用者擁有的宣告。
generic <typename TKey>
where TKey : IEquatable<TKey>public ref class IdentityUserClaim
C#
public class IdentityUserClaim<TKey> where TKey : IEquatable<TKey>
type IdentityUserClaim<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityUserClaim(Of TKey)
- TKey
用於擁有此宣告之使用者之主鍵的類型。
- 繼承
-
IdentityUserClaim<TKey>
Identity |
表示使用者擁有的宣告。 |
Claim |
取得或設定這個宣告的宣告類型。 |
Claim |
取得或設定這個宣告的宣告值。 |
Id |
取得或設定這個使用者宣告的識別碼。 |
User |
取得或設定與此宣告相關聯之使用者的主鍵。 |
Initialize |
從宣告讀取類型和值。 |
To |
將實體轉換成宣告實例。 |
產品 | 版本 |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |