EntityTagHeaderValue.Compare(EntityTagHeaderValue, Boolean) メソッド

定義

を別 EntityTagHeaderValue のと比較して、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

パラメーター

other
EntityTagHeaderValue

比較対象のもう 1 EntityTagHeaderValue つ。

useStrongComparison
Boolean

true 強い比較を使用する場合は 、 false 弱い比較を使用する場合は

戻り値

true 指定された EntityTagHeaderValue 比較の種類に一致する場合、 false もう一方の値が null の場合、または比較に失敗した場合は 。

適用対象