Share via


HybridDictionary<TKey, TValue> Class

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.HybridDictionary<TKey, TValue>

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Class HybridDictionary(Of TKey, TValue) _
    Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)),  _
    IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable
public class HybridDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
    ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
    IEnumerable
generic<typename TKey, typename TValue>
public ref class HybridDictionary : IDictionary<TKey, TValue>, 
    ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
    IEnumerable
type HybridDictionary<'TKey, 'TValue> =  
    class 
        interface IDictionary<'TKey, 'TValue>
        interface ICollection<KeyValuePair<'TKey, 'TValue>>
        interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
        interface IEnumerable 
    end
JScript does not support generic types or methods.

Type Parameters

  • TKey
  • TValue

The HybridDictionary<TKey, TValue> type exposes the following members.

Constructors

  Name Description
Public method HybridDictionary<TKey, TValue>()
Public method HybridDictionary<TKey, TValue>(Boolean)
Public method HybridDictionary<TKey, TValue>(Int32)
Public method HybridDictionary<TKey, TValue>(Int32, Boolean)

Top

Properties

  Name Description
Public property Count
Public property IsReadOnly
Public property Item
Public property Keys
Public property Values

Top

Methods

  Name Description
Public method Add(KeyValuePair<TKey, TValue>)
Public method Add(TKey, TValue)
Public method Clear
Public method Contains
Public method ContainsKey
Public method CopyTo
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove(KeyValuePair<TKey, TValue>)
Public method Remove(TKey)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Internal.VisualStudio.PlatformUI Namespace