Socket.GetHashCode 方法

定義

傳回 Socket 執行個體的雜湊值。

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

傳回

整數雜湊值。

備註

GetHashCode 方法會傳回這個實例的雜湊碼。 此值可作為雜湊表中的索引鍵。

適用於