SecurityKeyIdentifierClause.Matches(SecurityKeyIdentifierClause) 方法

定义

返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。

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

参数

keyIdentifierClause
SecurityKeyIdentifierClause

要进行比较的 SecurityKeyIdentifierClause

返回

如果 keyIdentifierClause 是与当前实例相同的实例,则为 true;否则为 false

例外

keyIdentifierClausenull

适用于