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

Properties

  NameDescription
Public propertyCount
The number of elements currently contained in this collection.
Public propertyIsEmpty
Returns trueTruetruetrue (True in Visual Basic) if this set contains no elements.
Public propertyIsReadOnly
Indicates whether the given instance is read-only or not
Public propertyIsSynchronized
Returns trueTruetruetrue (True in Visual Basic) if the Set is synchronized across threads. Note that enumeration is inherently not thread-safe. Use the SyncRoot to lock the object during enumeration.
Public propertySyncRoot
An object that can be used to synchronize this collection to make it thread-safe. When implementing this, if your object uses a base object, like an IDictionary, or anything that has a SyncRoot, return that object instead of "this".

See Also