The HashSet<(Of <(<'T>)>)> type exposes the following members.

Constructors

  NameDescription
Public methodHashSet<(Of <(<'T>)>)>()()()()
Creates a new empty hash set.
Public methodHashSet<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>))
Creates a new hash set using the elements to initialize the set.
Public methodHashSet<(Of <(<'T>)>)>(IEnumerator<(Of <<'(T>)>>))
Creates a new hash set using the elements to initialize the set.

Methods

  NameDescription
Public methodAdd
Adds the given item to this set.
Public methodAddRange(IEnumerable<(Of <<'(T>)>>))
Adds a range of elements to this set.
Public methodAddRange(IEnumerator<(Of <<'(T>)>>))
Adds a range of elements to this set.
Public methodClear
Removes all items from the ICollection<(Of <(<'T>)>)>.
Public methodContains
Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value.
Public methodCopyTo
Copies the elements of the ICollection<(Of <(<'T>)>)> to an Array, starting at a particular Array index.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnionWith
Adds all items from the enumerable to this instance.

Properties

  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollection<(Of <(<'T>)>)>.
Public propertyIsReadOnly
Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only.

See Also