Click or drag to resize

EAPCollectionBase Methods

The EAPCollectionBase type exposes the following members.

Methods
  NameDescription
Protected methodAdd(String, Object)
Adds an object to the collection. Override. This method simply calls the Add method with CollectionAddFlags.replace as the flags.
Protected methodAdd(String, Object, CollectionAddFlags)
Adds an item to the collection
Protected methodAddAt
Adds an item to the collection at the specified index. To append an item use -1 or the collection item count as the index.
Public methodClear
Clears the collection
Public methodContains
Determines whether an element is in the collection.
Public methodContainsKey
Checks for the existence of an item in the hashtable
Public methodCopyTo
Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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
Returns an enumerator that can iterate through the ArrayList.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetItem(Int32)
Returns an item that matches the specified string index
Protected methodGetItem(String)
Returns an item that matches the specified string index
Public methodGetItemName
Returns the name of the item.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the zero-based index of the first occurrence of an object in the internal ArrayList or in a portion of it.
Public methodIndexOfKey
Returns the index of the item in the collection (by key)
Public methodInsert
Inserts an element into the internal ArrayList at the specified index
Protected methodIsMarkedForDeletion
Determines if this element is marked for deletion. Note that this base implementation must be overridden in order to support RemoveMarkedItems() for a partular collection.
Protected methodIsTypeOK
Verifies the item is an acceptable type. Generally this is a test like "return (item is [class]);".
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRecalcHash
Recalculates the internal hash
Public methodRemove(Object)
Removes the first occurrence of a specific object from the collection
Public methodRemove(String)
Remove the specified item from the collection.
Public methodRemoveAt
Removes the element at the specified index
Public methodRemoveMarkedItems
Removes the properties marked for deletion.
Public methodRemoveRange
Removes the element at the specified index
Protected methodSetItem(Int32, Object)
Sets an item's value at the specified index.
Protected methodSetItem(String, Object)
Sets an item's value at the string index indicated by the parameters.
Public methodSort(Boolean)
Sort the list by its key value.
Public methodSort(IComparer)
Sort the collection using the provided comparer.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTruncate
Truncate the array starting at the specified index.
Protected methodUnload
Called when the collection is cleared allowing a derived class to clean up.
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also