XNodeEqualityComparer.IEqualityComparer.GetHashCode(Object) 메서드

정의

노드의 값에 따른 해시 코드를 반환합니다.

 virtual int System.Collections.IEqualityComparer.GetHashCode(System::Object ^ obj) = System::Collections::IEqualityComparer::GetHashCode;
int IEqualityComparer.GetHashCode (object obj);
abstract member System.Collections.IEqualityComparer.GetHashCode : obj -> int
override this.System.Collections.IEqualityComparer.GetHashCode : obj -> int
Function GetHashCode (obj As Object) As Integer Implements IEqualityComparer.GetHashCode

매개 변수

obj
Object

해시할 노드입니다.

반환

Int32

노드에 대한 값 기반 해시 코드가 들어 있는 Int32입니다.

구현

설명

구현은 XNode 노드의 GetHashCode 참조 ID를 기반으로 합니다. 이 메서드는 노드의 값, 해당 특성 및 해당 하위 항목에 따라 심층 해시 코드를 계산합니다.

적용 대상