Click or drag to resize
MultiKeyDictionaryValueType Class
Hashtable which can use multiple keys to access the same data. The keys are separated by the separator.
Inheritance Hierarchy
SystemObject
  System.CollectionsHashtable
    CMS.BaseSafeDictionaryString, ValueType
      CMS.BaseStringSafeDictionaryValueType
        CMS.BaseMultiKeyDictionaryValueType

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public class MultiKeyDictionary<ValueType> : StringSafeDictionary<ValueType>

Type Parameters

ValueType

The MultiKeyDictionaryValueType type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAdd
Adds the value to the table.
(Overrides SafeDictionaryTKey, TValueAdd(Object, Object).)
Public methodAddMultiple
Adds multiple items with same value to the dictionary
(Inherited from SafeDictionaryTKey, TValue.)
Public methodClear
Clears the table.
(Overrides SafeDictionaryTKey, TValueClear.)
Public methodClone
Gets the cloned Hashtable.
(Overrides HashtableClone.)
Public methodCloneForNewThread
Clones the object for new thread
(Inherited from SafeDictionaryTKey, TValue.)
Public methodContains
Returns true if the table contains specific key.
(Overrides SafeDictionaryTKey, TValueContains(Object).)
Public methodContainsKey
Returns true if the table contains specific key.
(Overrides SafeDictionaryTKey, TValueContainsKey(Object).)
Public methodContainsValue
Returns true if the dictionary contains the given value
(Inherited from SafeDictionaryTKey, TValue.)
Public methodCopyTo
Copies the System.Collections.Hashtable elements to a one-dimensional System.Array instance at the specified index.
(Inherited from SafeDictionaryTKey, TValue.)
Protected methodGetInternalValue
Gets the value from the internal dictionary
(Inherited from SafeDictionaryTKey, TValue.)
Protected methodGetMainKey
Gets the main object key for the given key.
Public methodGetObjectData
Object serialization.
(Inherited from SafeDictionaryTKey, TValue.)
Public methodGetRealCount
Gets the real count of the objects in the dictionary
(Inherited from SafeDictionaryTKey, TValue.)
Public methodRemove
Removes the item from the table.
(Overrides SafeDictionaryTKey, TValueRemove(Object).)
Protected methodSetInternalValue
Sets the value in the internal dictionary
(Inherited from SafeDictionaryTKey, TValue.)
Public methodTryGetValue
Tries to get the value, returns true if the retrieval was successful.
(Inherited from SafeDictionaryTKey, TValue.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
Properties
  NameDescription
Public propertyAllowNulls
If true, the dictionary allows null values as valid.
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyCopyToNewThread
If true, the dictionary is copied (not cloned) to a new thread
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyDefaultValue
Default value.
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyIsEmpty
Returns true if the dictionary is empty
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyIsSynchronized
Returns true if dictionary is synchronized.
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyItemObject
Gets or sets the value associated with key value
(Overrides HashtableItemObject.)
Public propertyItemString
Gets or sets the item.
(Overrides SafeDictionaryTKey, TValueItemTKey.)
Public propertyKeys
Gets an Collection containing the keys in the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyNullValue
Null value.
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyTypedKeys
Gets a typed collection of keys in this dictionary
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyTypedValues
Gets a typed collection of values in this dictionary
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyUseWeakReferences
If true, the weak references are used for the items so the memory can be cleared upon request
(Inherited from SafeDictionaryTKey, TValue.)
Public propertyValues
Gets an Collection containing the values in the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.)
Top
See Also