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
Dim instance As ISet(Of T)
public interface ISet<T> : ICollection<T>,
IEnumerable<T>, IEnumerable
generic<typename T>
public interface class ISet : ICollection<T>,
IEnumerable<T>, IEnumerable
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
Reference