CollectionBase Members
Public Properties
Count Supported by the .NET Compact Framework. | Gets the number of elements contained in the CollectionBase instance. |
Public Methods
Clear Supported by the .NET Compact Framework. | Removes all objects from the CollectionBase instance. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetEnumerator Supported by the .NET Compact Framework. | Returns an enumerator that can iterate through the CollectionBase instance. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
RemoveAt Supported by the .NET Compact Framework. | Removes the element at the specified index of the CollectionBase instance. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Protected Constructors
CollectionBase Constructor Supported by the .NET Compact Framework. | Initializes a new instance of the CollectionBase class. |
Protected Properties
InnerList Supported by the .NET Compact Framework. | Gets an ArrayList containing the list of elements in the CollectionBase instance. |
List Supported by the .NET Compact Framework. | Gets an IList containing the list of elements in the CollectionBase instance. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
OnClear Supported by the .NET Compact Framework. | Performs additional custom processes when clearing the contents of the CollectionBase instance. |
OnClearComplete Supported by the .NET Compact Framework. | Performs additional custom processes after clearing the contents of the CollectionBase instance. |
OnInsert Supported by the .NET Compact Framework. | Performs additional custom processes before inserting a new element into the CollectionBase instance. |
OnInsertComplete Supported by the .NET Compact Framework. | Performs additional custom processes after inserting a new element into the CollectionBase instance. |
OnRemove Supported by the .NET Compact Framework. | Performs additional custom processes when removing an element from the CollectionBase instance. |
OnRemoveComplete Supported by the .NET Compact Framework. | Performs additional custom processes after removing an element from the CollectionBase instance. |
OnSet Supported by the .NET Compact Framework. | Performs additional custom processes before setting a value in the CollectionBase instance. |
OnSetComplete Supported by the .NET Compact Framework. | Performs additional custom processes after setting a value in the CollectionBase instance. |
OnValidate Supported by the .NET Compact Framework. | Performs additional custom processes when validating a value. |
Explicit Interface Implementations
| ICollection.CopyTo | Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. |
| IList.Add | Adds an object to the end of the CollectionBase. |
| IList.Contains | Determines whether the CollectionBase contains a specific element. |
| IList.IndexOf | Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. |
| IList.Insert | Inserts an element into the CollectionBase at the specified index. |
| IList.Remove | Removes the first occurrence of a specific object from the CollectionBase. |
| System.Collections.ICollection.IsSynchronized | Gets a value indicating whether access to the CollectionBase is synchronized (thread-safe). |
| System.Collections.ICollection.SyncRoot | Gets an object that can be used to synchronize access to the CollectionBase. |
| System.Collections.IList.IsFixedSize | Gets a value indicating whether the CollectionBase has a fixed size. |
| System.Collections.IList.IsReadOnly | Gets a value indicating whether the CollectionBase is read-only. |
| System.Collections.IList.Item | Gets or sets the element at the specified index. |
