Set Generic Class
Represents a set of items. Adding an item to a set twice will only yield one instance in the collection.
Namespace: Microsoft.Practices.CompositeUI.Utility
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Class Set(Of TItem)
Implements ICollection(Of TItem), IEnumerable(Of TItem), _
IEnumerable
'Usage
Dim instance As Set(Of TItem)
public class Set<TItem> : ICollection<TItem>, IEnumerable<TItem>,
IEnumerable
generic<typename TItem>
public ref class Set : ICollection<TItem>, IEnumerable<TItem>,
IEnumerable
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.
Inheritance Hierarchy
System.Object
Microsoft.Practices.CompositeUI.Utility.Set
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
Set Members
Microsoft.Practices.CompositeUI.Utility Namespace