Search Results for

    Show / Hide Table of Contents

    Namespace System.Collections.Generic

    Classes

    XbimMultiValueDictionary<TKey, TValue>

    A MultiValueDictionary can be viewed as a System.Collections.IDictionary that allows multiple values for any given unique key. While the MultiValueDictionary API is mostly the same as that of a regular System.Collections.IDictionary, there is a distinction in that getting the value for a key returns a System.Collections.Generic.ICollection<T> of values rather than a single value associated with that key. Additionally, there is functionality to allow adding or removing more than a single value at once.

    The MultiValueDictionary can also be viewed as a IReadOnlyDictionary<TKey,ICollection<TValue>t> where the System.Collections.Generic.ICollection<T> is abstracted from the view of the programmer.

    For a read-only MultiValueDictionary, see System.Linq.ILookup`2.

    In This Article
    Back to top Copyright © 2022 xbim