XPathMessageFilterElementComparer.IComparer.Compare(Object, Object) 메서드

정의

두 개의 XPathMessageFilterElement 인스턴스를 비교합니다.

 virtual int System.Collections.IComparer.Compare(System::Object ^ x, System::Object ^ y) = System::Collections::IComparer::Compare;
int IComparer.Compare (object x, object y);
abstract member System.Collections.IComparer.Compare : obj * obj -> int
override this.System.Collections.IComparer.Compare : obj * obj -> int
Function Compare (x As Object, y As Object) As Integer Implements IComparer.Compare

매개 변수

반환

Int32

다음 표에서는 가능한 값을 보여 줍니다.

조건
-1 xy보다 작은 경우
0 x이(가) y와 같은 경우.
1 xy보다 큰 경우

구현

예외

x 또는 y를 통해 지정된 XPath 필터를 구문 분석할 수 없는 경우

x 또는 y를 통해 지정된 XPath 네임스페이스 접두사를 찾을 수 없는 경우

적용 대상