Export (0) Print
Expand All

KeyedByTypeCollection Methods

(see also Protected Methods )
  Name Description
Public method Add  Adds an object to the end of the Collection. (inherited from Collection)
Public method Clear  Removes all elements from the Collection. (inherited from Collection)
Public method Contains  Determines whether the collection contains an element with the specified key. (inherited from KeyedCollection)
Public method CopyTo  Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (inherited from Collection)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Find Returns the first item in the collection of a specified type.
Public method FindAll Returns a collection of objects of type T that are contained in the KeyedByTypeCollection.
Public method GetEnumerator  Returns an enumerator that iterates through the Collection. (inherited from Collection)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IndexOf  Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (inherited from Collection)
Public method Insert  Inserts an element into the Collection at the specified index. (inherited from Collection)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Overloaded.  
Public method RemoveAll Removes all of the elements of a specified type from the collection.
Public method RemoveAt  Removes the element at the specified index of the Collection. (inherited from Collection)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method ChangeItemKey  Changes the key associated with the specified element in the lookup dictionary. (inherited from KeyedCollection)
Protected method ClearItems  Removes all elements from the KeyedCollection. (inherited from KeyedCollection)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetKeyForItem Overloaded. Gets the type of an item contained in the collection.
Protected method InsertItem Overloaded. Overridden. Inserts a specified item into the collection at a specific location.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method RemoveItem  Removes the element at the specified index of the KeyedCollection. (inherited from KeyedCollection)
Protected method SetItem Overloaded. Overridden. Replaces the item at the specified index with a new element.
Top

Community Additions

ADD
Show:
© 2014 Microsoft