Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The DictionarySet type exposes the following members.

Constructors

  NameDescription
Public methodDictionarySet()()()()
Default constructor. By default, HashDictionary is the underlying Dictionary. If that is not the desired behavior, then pass an explicit Dictionary to the DictionarySet constructor. To change the default Dictionary implementation, sub-class the DictionarySet and override the InstantiateDictionary()()()() method.
Public methodDictionarySet(ICollection)
Create and populate a new DictionarySet with the given collection of elements.
Protected methodDictionarySet(IDictionary)
Create a new DictionarySet that uses the specified IDictionary to store its elements.
Protected methodDictionarySet(SerializationInfo, StreamingContext)
Initializes a new instance of the DictionarySet class using the specified SerializationInfo and StreamingContext.

Methods

  NameDescription
Public methodAdd
Adds an element to the set and returns a value to indicate if the element was successfully added.
Public methodClear
Remove all elements from the set.
Public methodContains
Determine whether the set contains a specific element.
Public methodCopyTo
Copy elements from this collection into the one-dimensional array.
Public methodEquals(Object)
Determines whether the specified object is equal to this object.
(Overrides Object..::..Equals(Object).)
Public methodEquals(DictionarySet)
Compares this set with another set for equality.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Return an IEnumerator that iterates through this collection.
Public methodGetHashCode
Returns a hash code for this object.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetObjectData
Populates SerializationInfo with the data needed to serialize this object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInstantiateDictionary
Factory pattern: Provide an underlying dictionary for this Set implementation.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Remove the specified element from the set.
Public methodToString
Returns string representation of this instance.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyCount
Gets the number of elements in this collection.
Public propertyIsSynchronized
Gets a value indicating whether access to this collection is thread-safe.
Public propertySyncRoot
Get an object that can be used to synchronize access to this collection.

See Also