Share via


CollectionDictionary<TKey, TElement> Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Common.CollectionDictionary<TKey, TElement>

Namespace:  Microsoft.TeamFoundation.Framework.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Class CollectionDictionary(Of TKey, TElement) _
    Implements ICollectionDictionary(Of TKey, TElement)
public class CollectionDictionary<TKey, TElement> : ICollectionDictionary<TKey, TElement>
generic<typename TKey, typename TElement>
public ref class CollectionDictionary : ICollectionDictionary<TKey, TElement>
type CollectionDictionary<'TKey, 'TElement> =  
    class 
        interface ICollectionDictionary<'TKey, 'TElement>
    end
JScript does not support generic types or methods.

Type Parameters

  • TKey
  • TElement

The CollectionDictionary<TKey, TElement> type exposes the following members.

Constructors

  Name Description
Public method CollectionDictionary<TKey, TElement>

Top

Properties

  Name Description
Public property Count
Public property Keys

Top

Methods

  Name Description
Public method AddElement
Public method Clear
Public method ContainsElement
Public method ContainsKey
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 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
Public method RemoveElement
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue(TKey, ICollection<TElement>%)
Public method TryGetValue<TCollection>(TKey, TCollection%)

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.TeamFoundation.Framework.Common Namespace