KeyNameIdentifierClause.Matches Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Sprawdza, czy klauzula Name klucza zabezpieczeń jest zgodna z bieżącym wystąpieniem tej klasy.
Przeciążenia
| Matches(String) |
Sprawdza, czy podana nazwa klucza jest zgodna z nazwą klucza bieżącego wystąpienia. |
| Matches(SecurityKeyIdentifierClause) |
Sprawdza, czy jest SecurityKeyIdentifierClause zgodny z bieżącym wystąpieniem tej klasy. |
Matches(String)
Sprawdza, czy podana nazwa klucza jest zgodna z nazwą klucza bieżącego wystąpienia.
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
Klauzula nazwy klucza zabezpieczeń.
Zwraca
true w przypadku dopasowania; w przeciwnym razie false .
Dotyczy
Matches(SecurityKeyIdentifierClause)
Sprawdza, czy jest SecurityKeyIdentifierClause zgodny z bieżącym wystąpieniem tej klasy.
public:
override bool Matches(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public:
override bool Matches(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ clause);
public override bool Matches (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
public override bool Matches (System.IdentityModel.Tokens.SecurityKeyIdentifierClause clause);
override this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
override this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function Matches (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean
Public Overrides Function Matches (clause As SecurityKeyIdentifierClause) As Boolean
Parametry
- keyIdentifierClauseclause
- SecurityKeyIdentifierClause
SecurityKeyIdentifierClause, Który ma zostać porównany.
Zwraca
true w przypadku dopasowania; w przeciwnym razie false .