- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
Methods_T_CodeJam_Collections_OwnedCollectionBase_3
        Andrew Koryavchenko edited this page Jul 4, 2017 
        ·
        1 revision
      
    The OwnedCollectionBase(TOwner, TKey, TItem) generic type exposes the following members.
| Name | Description | |
|---|---|---|
|  | Add | Adds an object to the end of the Collection(T). (Inherited from Collection(TItem).) | 
|  | ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from KeyedCollection(TKey, TItem).) | 
|  | Clear | Removes all elements from the Collection(T). (Inherited from Collection(TItem).) | 
|  | ClearItems | Removes all elements from the Collection(T). Clears owner for the items being removed. (Overrides KeyedCollection(TKey, TItem).ClearItems().) | 
|  | Contains(TKey) | Determines whether the collection contains an element with the specified key. (Inherited from KeyedCollection(TKey, TItem).) | 
|  | Contains(T) | Determines whether an element is in the Collection(T). (Inherited from Collection(TItem).) | 
|  | CopyTo | Copies the entire Collection(T) to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection(TItem).) | 
|  | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
|  | GetEnumerator | Returns an enumerator that iterates through the Collection(T). (Inherited from Collection(TItem).) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetKey | Gets a key for the item. | 
|  | GetKeyForItem | When implemented in a derived class, extracts the key from the specified element. (Overrides KeyedCollection(TKey, TItem).GetKeyForItem(TItem).) | 
|  | GetOwner | Gets the owner of the item. | 
|  | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
|  | IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection(T). (Inherited from Collection(TItem).) | 
|  | Insert | Inserts an element into the Collection(T) at the specified index. (Inherited from Collection(TItem).) | 
|  | InsertItem | Inserts an element into the Collection(T) at the specified index. Sets owner for the items being added. (Overrides KeyedCollection(TKey, TItem).InsertItem(Int32, TItem).) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
|  | Remove(TKey) | Removes the element with the specified key from the KeyedCollection(TKey, TItem). (Inherited from KeyedCollection(TKey, TItem).) | 
|  | Remove(T) | Removes the first occurrence of a specific object from the Collection(T). (Inherited from Collection(TItem).) | 
|  | RemoveAt | Removes the element at the specified index of the Collection(T). (Inherited from Collection(TItem).) | 
|  | RemoveItem | Removes the element at the specified index of the Collection(T). Clears owner for the item being removed. (Overrides KeyedCollection(TKey, TItem).RemoveItem(Int32).) | 
|  | SetItem | Replaces the element at the specified index. Sets owner for the items being added. Clears owner for the item being removed. (Overrides KeyedCollection(TKey, TItem).SetItem(Int32, TItem).) | 
|  | SetOwner | Sets the owner of the item. | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
OwnedCollectionBase(TOwner, TKey, TItem) Class
CodeJam.Collections Namespace