Muokkaa

Jaa


BinaryKeyIdentifierClause.Matches Method

Definition

Returns a value that indicates whether the key identifier for this instance matches the specified object.

Overloads

Matches(Byte[])

Returns a value that indicates whether the binary data for the current instance matches the specified binary data.

Matches(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified key identifier clause.

Matches(Byte[], Int32)

Returns a value that indicates whether the binary data for the current instance is equivalent to the specified binary data at the specified offset.

Matches(Byte[])

Source:
BinaryKeyIdentifierClause.cs
Source:
BinaryKeyIdentifierClause.cs

Returns a value that indicates whether the binary data for the current instance matches the specified binary data.

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

Parameters

data
Byte[]

An array of Byte to compare to.

Returns

true if data is equivalent to the binary data returned by the GetBuffer() method; otherwise, false.

Applies to

Matches(SecurityKeyIdentifierClause)

Source:
BinaryKeyIdentifierClause.cs
Source:
BinaryKeyIdentifierClause.cs

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified key identifier clause.

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

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause to compare to.

Returns

true if keyIdentifierClause is of type BinaryKeyIdentifierClause and the binary data returned by the GetBuffer() method is identical for the keyIdentifierClause parameter and the current instance; otherwise, false.

Applies to

Matches(Byte[], Int32)

Source:
BinaryKeyIdentifierClause.cs
Source:
BinaryKeyIdentifierClause.cs

Returns a value that indicates whether the binary data for the current instance is equivalent to the specified binary data at the specified offset.

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

Parameters

data
Byte[]

An array of Byte to compare to.

offset
Int32

The index in the array at which the comparison starts.

Returns

true if the binary data in the data parameter starting at the index specified in the offset parameter is equivalent to the binary data returned by the GetBuffer() method (starting at index zero); otherwise, false.

Applies to