BinaryKeyIdentifierClause.Matches 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示此实例的密钥标识符是否与指定的对象匹配。
重载
| 名称 | 说明 |
|---|---|
| Matches(Byte[]) |
返回一个值,该值指示当前实例的二进制数据是否与指定的二进制数据匹配。 |
| Matches(SecurityKeyIdentifierClause) |
返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。 |
| Matches(Byte[], Int32) |
返回一个值,该值指示当前实例的二进制数据是否与指定偏移量处的指定二进制数据等效。 |
Matches(Byte[])
- Source:
- BinaryKeyIdentifierClause.cs
- Source:
- BinaryKeyIdentifierClause.cs
- Source:
- BinaryKeyIdentifierClause.cs
返回一个值,该值指示当前实例的二进制数据是否与指定的二进制数据匹配。
public:
bool Matches(cli::array <System::Byte> ^ data);
public bool Matches(byte[] data);
override this.Matches : byte[] -> bool
Public Function Matches (data As Byte()) As Boolean
参数
返回
适用于
Matches(SecurityKeyIdentifierClause)
- Source:
- BinaryKeyIdentifierClause.cs
- Source:
- BinaryKeyIdentifierClause.cs
- Source:
- BinaryKeyIdentifierClause.cs
返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。
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
参数
- keyIdentifierClause
- SecurityKeyIdentifierClause
要比较的 A SecurityKeyIdentifierClause 。
返回
true 如果 keyIdentifierClause 类型 BinaryKeyIdentifierClause 相同,并且该方法返回 GetBuffer() 的二进制数据与 keyIdentifierClause 参数和当前实例相同,则为 ;否则为 false。
适用于
Matches(Byte[], Int32)
- Source:
- BinaryKeyIdentifierClause.cs
- Source:
- BinaryKeyIdentifierClause.cs
- Source:
- BinaryKeyIdentifierClause.cs
返回一个值,该值指示当前实例的二进制数据是否与指定偏移量处的指定二进制数据等效。
public:
bool Matches(cli::array <System::Byte> ^ data, int offset);
public bool Matches(byte[] data, int offset);
override this.Matches : byte[] * int -> bool
Public Function Matches (data As Byte(), offset As Integer) As Boolean
参数
- offset
- Int32
比较开始的数组中的索引。
返回
true如果从参数中指定的data索引处开始的参数中的offset二进制数据等效于方法返回GetBuffer()的二进制数据(从索引零开始);否则为 false。