UndoableDictionaryTKey, TValue Class TIBCO Spotfire 7.6 API Reference
A dictionary where all operations are undoable.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.DocumentModelNode
    Spotfire.Dxp.Framework.DocumentModelUndoableNodeBase
      UndoableNode
        UndoableCollectionNode
          Spotfire.Dxp.Framework.DocumentModelUndoableDictionaryTKey, TValue

Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public sealed class UndoableDictionary<TKey, TValue> : UndoableCollectionNode, 
	IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, 
	IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable

Type Parameters

TKey
TValue

The UndoableDictionaryTKey, TValue type exposes the following members.

Methods

  NameDescription
Public methodAdd(KeyValuePairTKey, TValue)
Adds an item to the ICollectionT.
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
Public methodClear
Removes all items from the ICollectionT.
Public methodContains
Determines whether the ICollectionT contains a specific value.
Public methodContainsKey
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Public methodCopyTo
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Protected methodGetService
Override this method to provide services accessible from this node and its descendants. If you can not provide the requested service, you should call base.GetService which relays the request to the owner or to the AnalysisApplication if no owner is set.
(Inherited from Node.)
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(KeyValuePairTKey, TValue)
Removes the first occurrence of a specific object from the ICollectionT.
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionaryTKey, TValue.
Public methodReplaceAll
Replaces the contents of this instance with the elements in the specified collection.
Public methodTryGetValue
Tries to get the value associated with the specified key, returning true upon success.
Top
Properties

  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollectionT.
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
Public propertyItem
Gets or sets the TValue with the specified key.
Public propertyKeys
Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
Public propertyValues
Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodIServiceProviderGetService
Implements IServiceProvider.
(Inherited from Node.)
Top
Remarks

When the dictionary is modified, it will trigger a PropertyChanged event from its owner, using the PropertyName of the dictionary as the source.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference