Share via


KeyNameIdentifierClause.Matches Metoda

Definice

Zkontroluje, zda klauzule názvu klíče zabezpečení odpovídá aktuální instanci této třídy.

Přetížení

Matches(SecurityKeyIdentifierClause)

Zkontroluje, zda odpovídá SecurityKeyIdentifierClause aktuální instanci této třídy.

Matches(String)

Zkontroluje, jestli zadaný název klíče odpovídá názvu klíče aktuální instance.

Matches(SecurityKeyIdentifierClause)

Zkontroluje, zda odpovídá SecurityKeyIdentifierClause aktuální instanci této třídy.

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

Parametry

keyIdentifierClause
SecurityKeyIdentifierClause

To SecurityKeyIdentifierClause se má porovnat.

Návraty

truepokud existuje shoda; v opačném případě . false

Platí pro

Matches(String)

Zkontroluje, jestli zadaný název klíče odpovídá názvu klíče aktuální instance.

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

Parametry

keyName
String

Klauzule názvu klíče zabezpečení

Návraty

truepokud existuje shoda; v opačném případě . false

Platí pro