KeyNameIdentifierClause.Matches Method

Definition

Checks whether a security key name clause matches the current instance of this class.

Overloads

Matches(SecurityKeyIdentifierClause)

Checks whether a SecurityKeyIdentifierClause matches the current instance of this class.

Matches(String)

Checks whether the specified key name matches the current instance's key name.

Matches(SecurityKeyIdentifierClause)

Checks whether a SecurityKeyIdentifierClause matches the current instance of this class.

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 SecurityKeyIdentifierClause that is to be compared.

Returns

true if there is a match; otherwise, false.

Applies to

Matches(String)

Checks whether the specified key name matches the current instance's key name.

public:
 bool Matches(System::String ^ keyName);
public bool Matches (string keyName);
override this.Matches : string -> bool
Public Function Matches (keyName As String) As Boolean

Parameters

keyName
String

The security key name clause.

Returns

true if there is a match; otherwise, false.

Applies to