다음을 통해 공유


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

비교할 다른 EntityTagHeaderValue 입니다.

useStrongComparison
Boolean

true 강력한 비교를 사용하려면 약한 false 비교를 사용합니다.

반환

true지정된 비교 형식 falseEntityTagHeaderValue 대한 일치 항목이면 다른 값이 null이거나 비교에 실패한 경우 입니다.

적용 대상