IdentityRoleClaim<TKey>.InitializeFromClaim(Claim) 方法

定义

通过从另一个声明复制 ClaimType 和 ClaimValue 进行初始化。

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

要从中初始化的声明。

适用于