MfDictionaryBase

Namespace ›› System ››
Parent Previous Next

MfDictionaryBase Class

(Inherits from MfEnumerableBase)

Provides the abstract base class for a strongly typed collection of key/value pairs.

Links

Properties, Methods

Constructors


Name

Description

Constructor()

Constructor for Abstract MfDictionaryBase Class

Properties


Name

Description

Count

Gets the number of elements contained in the MfDictionaryBase instance.. This property cannot be overridden.

Dictionary

Gets the list of elements contained in the MfDictionaryBase instance

InnerHashtable

Gets the list of elements contained in the MfDictionaryBase instance.

IsFixedSize

Gets a value indicating whether the MfDictionaryBase has a fixed size.

IsReadonly

Gets a value indicating whether the MfDictionaryBase is read-only.

Item

Gets or sets the element at the specified index.

Keys

Gets an MfCollection instance containing the keys in the MfDictionaryBase instance.

Values

Gets an MfCollection instance containing the values in the MfDictionaryBase instance.

Methods


Name

Description

_NewEnum()

Returns a new enumerator to enumerate this object's key-value pairs. Overrides MfEnumerableBase._NewEnum()

Add(key, value)

Adds an element with the specified key and value into the MfDictionaryBase instance

AddAttribute()

Adds MfAttribute extended items to extended classes. Inherited from MfObject.

Clear()

Clears the contents of the MfDictionaryBase instance.. This method in not to be overridden.

CompareTo()

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. Inherited from MfObject.

Contains(key)

Determines whether the MfDictionaryBase contains a specific element.

Contains(obj)

Determines whether the MfCollectionBase contains a specific element.

Equals(obj)

Compares obj to current instance to see if they are the same. Inherited from MfObject.

GetAttribute(index)

Gets an MfAttribute of the class. Inherited from MfObject.

GetAttributes()

Gets a MfGenericList of MfAttribute that Contains the attributes for the current class instance. Inherited from MfObject.

GetEnumerator()

Gets an enumerator. Inherited from MfEnumerableBase

GetIndexOfAttribute(attrib)

Gets the zero-based index value of the position of MfAttribute within the instance of the class. Inherited from MfObject.

GetType()

Gets the Type for the for the Class .Inherited from MfObject.

HasAttribute(attrib)

Gets if the current instance of class derived from MfSystemException has MfAttribute. Inherited from MfObject.

Is(type)

Gets if current instance of object is of the same type. Inherited from MfObject. Inherited from MfObject.

IsInstance()

Get if the current class is an instance. Inherited from MfObject.

MemberwiseClone()

Creates a shallow copy of the current MfObject instance. Inherited from MfObject.

OnClear()

Performs additional custom processes when clearing the contents of the MfDictionaryBase instance

OnClearComplete()

Performs additional custom processes after clearing the contents of the MfDictionaryBase instance.

OnInsert(key, value)

Performs additional custom processes before inserting a new element into the MfDictionaryBase instance

OnInsertComplete(key, value)

Performs additional custom processes after inserting a new element into the MfDictionaryBase instance.

OnRemove(key, value)

Performs additional custom processes before removing an element from the current instance

OnRemoveComplete(key, value)

Performs additional custom processes after removing an element from the MfDictionaryBase instance.

OnSet(key, oldValue, newValue)

Performs additional custom processes before setting a value in the MfDictionaryBase instance.

OnSetComplete(key, oldValue, newValue)

Performs additional custom processes after setting a value in the MfDictionaryBase instance

OnValidate(value)

Performs additional custom processes when validating a value.

Remove(key)

Removes the first occurrence of a specific object from the MfDictionaryBase

ToString()

Gets a string representation of the MfObject. Inherited from MfObject.

VerifyIsInstance([ClassName, LineFile, LineNumber, Source])

Verifies the the current object is set to an instance. Inherited from MfObject.

VerifyIsNotInstance([MethodName, LineFile, LineNumber, Source])

Verifies the the current object is NOT set to an instance. Used in Static methods. Inherited from MfObject.