Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetHashCode

virtual override func GetHashCode() -> int

Declaring type: KeyValuePair<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: KeyValuePair.rvn

Overrides Object.GetHashCode

Combines component hashes; equal pairs have equal hashes, which are not persistent identifiers.

Return value

Int32

Remarks

Development API. Generic value operations can allocate and unsupported component contracts can fault. See the key/value pair reference for bounds.