EntityTagHeaderValue.Compare(EntityTagHeaderValue, Boolean) Metoda

Definice

Porovná se s jinou EntityTagHeaderValue a zjistí, jestli odpovídají specifikacím RFC (https://tools.ietf.org/html/rfc7232#section-2.3.2).

public:
 bool Compare(Microsoft::Net::Http::Headers::EntityTagHeaderValue ^ other, bool useStrongComparison);
public bool Compare (Microsoft.Net.Http.Headers.EntityTagHeaderValue other, bool useStrongComparison);
public bool Compare (Microsoft.Net.Http.Headers.EntityTagHeaderValue? other, bool useStrongComparison);
member this.Compare : Microsoft.Net.Http.Headers.EntityTagHeaderValue * bool -> bool
Public Function Compare (other As EntityTagHeaderValue, useStrongComparison As Boolean) As Boolean

Parametry

other
EntityTagHeaderValue

EntityTagHeaderValue Druhý, který se má porovnat s.

useStrongComparison
Boolean

true použít silné porovnání, nepravda použít slabé porovnání

Návraty

Boolean

true if the EntityTagHeaderValue match for the given comparison type, false if the other value is null or the comparison failed.

Platí pro