The Set<(Of <(<'T>)>)> type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count |
The number of elements currently contained in this collection.
| |
| IsEmpty |
Returns trueTruetruetrue (True in Visual Basic) if this set contains no elements.
| |
| IsReadOnly |
Indicates whether the given instance is read-only or not
| |
| IsSynchronized |
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.
| |
| SyncRoot |
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".
|