IPAddress.GetHashCode 方法
定义
返回 IP 地址的哈希值。Returns a hash value for an IP address.
public:
override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
返回
整数哈希值。An integer hash value.
注解
GetHashCode方法返回 IP 地址的哈希代码。The GetHashCode method returns a hash code of the IP address. 此值可用作哈希表中的键。This value can be used as a key in hash tables.