語言

BinaryKeyIdentifierClause.Matches 方法

定義

回傳一個值,表示此實例的金鑰識別碼是否與指定物件相符。

多載

名稱 Description
Matches(Byte[])

回傳一個值,表示目前實例的二進位資料是否與指定的二進位資料相符。

Matches(SecurityKeyIdentifierClause)

回傳一個值,指示此實例的金鑰識別碼是否等同於指定的金鑰識別子句。

Matches(Byte[], Int32)

回傳一個值,表示目前實例的二進位資料是否等同於指定的偏移量。

Matches(Byte[])

來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs
來源:
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

參數

data
Byte[]

一堆 Byte 可以比較的。

傳回

true 若 data 等價於方法回傳 GetBuffer() 的二進位資料;否則, false。

適用於

Matches(SecurityKeyIdentifierClause)

來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs
來源:
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

SecurityKeyIdentifierClause一個比較的例子。

傳回

true 若 keyIdentifierClause 型別 BinaryKeyIdentifierClause 為 ,且方法回傳 GetBuffer() 的二進位資料在參數與當前實例中相同 keyIdentifierClause ;否則, false。

適用於

Matches(Byte[], Int32)

來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs
來源:
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

參數

data
Byte[]

一堆 Byte 可以比較的。

offset
Int32

比較開始時陣列中的索引。

傳回

true如果參數中從該參數指定data索引開始的二進位資料offset等價於該方法回傳GetBuffer()的二進位資料(從索引零開始);否則, false。

適用於