HashCode.GetHashCode Yöntem

Tanım

Dikkat

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

Bu yöntem desteklenmez ve çağrılmamalıdır.

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

Döndürülenler

Bu yöntem her zaman bir NotSupportedExceptionoluşturur.

Öznitelikler

Özel durumlar

Bu yöntem çağrıldığında her zaman oluşturulur.

Şunlara uygulanır