HashCode.GetHashCode 메서드

정의

주의

HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.

이 메서드는 지원되지 않으며 호출되지 않습니다.

public:
 override int GetHashCode();
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)]
public override int GetHashCode ();
[<System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

반환

이 메서드는 항상 NotSupportedException을 반환합니다.

특성

예외

이 메서드가 호출되면 항상 throw됩니다.

적용 대상