共用方式為


IdentityRoleClaim<TKey>.InitializeFromClaim(Claim) 方法

定義

從其他宣告複製 ClaimType 和 ClaimValue 來初始化。

public:
 virtual void InitializeFromClaim(System::Security::Claims::Claim ^ other);
public virtual void InitializeFromClaim (System.Security.Claims.Claim other);
public virtual void InitializeFromClaim (System.Security.Claims.Claim? other);
abstract member InitializeFromClaim : System.Security.Claims.Claim -> unit
override this.InitializeFromClaim : System.Security.Claims.Claim -> unit
Public Overridable Sub InitializeFromClaim (other As Claim)

參數

other
Claim

要初始化的來源宣告。

適用於