GenericXmlSecurityKeyIdentifierClause.Matches Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET