Επεξεργασία

Κοινή χρήση μέσω


GenericXmlSecurityKeyIdentifierClause.Matches Method

Definition

Returns a value that indicates whether specified key identifier clause matches the current instance.

public:
 override bool Matches(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public override bool Matches (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
override this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function Matches (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause to which to compare current instance.

Returns

true if the specified key identifier clause matches the current instance; otherwise, false.

Remarks

For the match to succeed, the specified key identifier clause must be assignable from GenericXmlSecurityKeyIdentifierClause and its markup (XML) must match that of this instance. (The OuterXml property of the element specified by the ReferenceXml property is compared for the two instances.)

Applies to