DefaultDictionary<TKey,TValue> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Dictionary with a default value for unseen keys.
C#
[System.Serializable]
public class DefaultDictionary<TKey,TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.Generic.IDictionary<TKey,TValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>
[<System.Serializable>]
type DefaultDictionary<'Key, 'Value> = class
interface IDictionary<'Key, 'Value>
interface ICollection<KeyValuePair<'Key, 'Value>>
interface seq<KeyValuePair<'Key, 'Value>>
interface IEnumerable
Public Class DefaultDictionary(Of TKey, TValue)
Implements ICollection(Of KeyValuePair(Of TKey, TValue)), IDictionary(Of TKey, TValue), IEnumerable(Of KeyValuePair(Of TKey, TValue))
- TKey
- TValue
- Inheritance
-
DefaultDictionary<TKey,TValue>
- Attributes
- Implements
-
ICollection<KeyValuePair<TKey,TValue>> IDictionary<TKey,TValue> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
Product | Versions |
---|---|
ML.NET | 2.0.0, 3.0.0, 4.0.0, Preview |