Share via


IdentityRoleClaim<TKey>.InitializeFromClaim(Claim) Method

Definition

Initializes by copying ClaimType and ClaimValue from the other claim.

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)

Parameters

other
Claim

The claim to initialize from.

Applies to