DefinitionalObjectGetDictionaryHashCodeTKey, TValue Method |
Computes a hash code from the items in a dictionary.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static int GetDictionaryHashCode<TKey, TValue>(
IDictionary<TKey, TValue> dictionary
)
Public Shared Function GetDictionaryHashCode(Of TKey, TValue) (
dictionary As IDictionary(Of TKey, TValue)
) As Integer
public:
generic<typename TKey, typename TValue>
static int GetDictionaryHashCode(
IDictionary<TKey, TValue>^ dictionary
)
static member GetDictionaryHashCode :
dictionary : IDictionary<'TKey, 'TValue> -> int
Parameters
- dictionary
- Type: System.Collections.GenericIDictionaryTKey, TValue
The dictionary containing the items for which to compute the hash code.
Type Parameters
- TKey
- The type of the keys in the dictionary.
- TValue
- The type of the values in the dictionary.
Return Value
Type:
Int32The computed hash code.
See Also