monoGIS Class Reference

DictionarySet Members

DictionarySet overview

Public Instance Properties

Count The number of elements contained in this collection.
IsEmpty Returns true if this set contains no elements.
IsSynchronized None of the objects based on DictionarySet are synchronized. Use the SyncRoot property instead.
SyncRoot Returns an object that can be used to synchronize the Set between threads.

Public Instance Methods

Add Adds the specified element to this set if it is not already present.
AddAll Adds all the elements in the specified collection to the set if they are not already present.
Clear Removes all objects from the set.
Clone (inherited from Set) Returns a clone of the Set instance. This will work for derived Set classes if the derived class implements a constructor that takes no arguments.
Contains Returns true if this set contains the specified element.
ContainsAll Returns true if the set contains all the elements in the specified collection.
CopyTo Copies the elements in the Set to an array. The type of array needs to be compatible with the objects in the Set, obviously.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExclusiveOr (inherited from Set) Performs an "exclusive-or" of the two sets, keeping only the elements that are in one of the sets, but not in both. The original sets are not modified during this operation. The result set is a Clone() of this set containing the elements from the exclusive-or operation.
GetEnumerator Gets an enumerator for the elements in the Set.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Intersect (inherited from Set) Performs an "intersection" of the two sets, where only the elements that are present in both sets remain. That is, the element is included if it exists in both sets. The Intersect() operation does not modify the input sets. It returns a Clone() of this set with the appropriate elements removed.
Minus (inherited from Set) Performs a "minus" of set b from set a. This returns a set of all the elements in set a, removing the elements that are also in set b. The original sets are not modified during this operation. The result set is a Clone() of this Set containing the elements from the operation.
Remove Removes the specified element from the set.
RemoveAll Remove all the specified elements from this set, if they exist in this set.
RetainAll Retains only the elements in this set that are contained in the specified collection.
ToString (inherited from Object)Returns a String that represents the current Object.
Union (inherited from Set) Performs a "union" of the two sets, where all the elements in both sets are present. That is, the element is included if it is in either a or b. Neither this set nor the input set are modified during the operation. The return value is a Clone() of this set with the extra elements added in.

Protected Instance Constructors

DictionarySet Constructor Initializes a new instance of the DictionarySet class.

Protected Instance Fields

InternalDictionary Provides the storage for elements in the Set, stored as the key-set of the IDictionary object. Set this object in the constructor if you create your own Set class.

Protected Instance Properties

Placeholder The placeholder object used as the value for the IDictionary instance.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DictionarySet Class | Iesi.Collections Namespace