[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Type Parameters

T

A collection of objects. An object will only appear once in a set.

The following tables list the members exposed by the ISet<(Of T>) generic type.

Public Methods

  NameDescription
Add
Adds an item to the ICollection<(Of T>).
(Inherited from ICollection<(Of T>).)
AddAll
Adds all of the items in the source.

Clear
Removes all items from the ICollection<(Of T>).
(Inherited from ICollection<(Of T>).)
Contains
Determines whether the ICollection<(Of T>) contains a specific value.
(Inherited from ICollection<(Of T>).)
CopyTo
Copies the elements of the ICollection<(Of T>) to an Array, starting at a particular Array index.
(Inherited from ICollection<(Of T>).)
GetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of T>).)
GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Remove
Removes the first occurrence of a specific object from the ICollection<(Of T>).
(Inherited from ICollection<(Of T>).)
RemoveAll
Removes all items.

ToArray
Converts the set to an array.

Public Properties

  NameDescription
Count
Gets the number of elements contained in the ICollection<(Of T>).
(Inherited from ICollection<(Of T>).)
First
Returns the first item in the set

IsEmpty
Gets a value indicating whether this instance is empty.

IsReadOnly
Gets a value indicating whether the ICollection<(Of T>) is read-only.
(Inherited from ICollection<(Of T>).)