Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
.NET Framework Class Library
ISet<(Of <(T>)>) Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides the base interface for the abstraction of sets.

Namespace:  System.Collections.Generic
Assembly:  System (in System.dll)
Visual Basic (Declaration)
Public Interface ISet(Of T) _
    Inherits ICollection(Of T), IEnumerable(Of T), IEnumerable
Visual Basic (Usage)
Dim instance As ISet(Of T)
C#
public interface ISet<T> : ICollection<T>, 
    IEnumerable<T>, IEnumerable
Visual C++
generic<typename T>
public interface class ISet : ICollection<T>, 
    IEnumerable<T>, IEnumerable
F#
type ISet<'T> =  
    interface
        interface ICollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable
    end

Type Parameters

T

The type of elements in the set.

This interface provides methods for implementing sets, which are collections that have unique elements and specific operations. The HashSet<(Of <(T>)>) and SortedSet<(Of <(T>)>) collections implement this interface.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker