Member group
Equals
Declaring type: KeyValuePair<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: KeyValuePair.rvn
Overloads / Variants
Equals
func Equals(other: KeyValuePair<K, V>) -> bool
Source file: KeyValuePair.rvn
Implements EquatableTo<KeyValuePair<K, V>>.Equals
Compares key and value using their declared types and canonical text equality.
Parameters
| Name | Type | Description |
|---|---|---|
other |
KeyValuePair<K, V> |
Return value
Remarks
Development API. Generic value operations can allocate and unsupported component contracts can fault. See the key/value pair reference for bounds.
Equals
virtual override func Equals(obj: object?) -> bool
Source file: KeyValuePair.rvn
Overrides Object.Equals
Compares a boxed pair of the same closed generic type; null and other types are unequal.
Parameters
| Name | Type | Description |
|---|---|---|
obj |
Object? |
Return value
Remarks
Development API. Generic value operations can allocate and unsupported component contracts can fault. See the key/value pair reference for bounds.