.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)
Syntax

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.

Remarks

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.

Platforms

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.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker