Export (0) Print
Expand All

CollectionBase Members

Provides the abstract base class for a strongly typed collection.

The following tables list the members exposed by the CollectionBase type.

  Name Description
Protected method Supported by the .NET Compact Framework CollectionBase Overloaded. Initializes a new instance of the CollectionBase class.
Top

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Capacity Gets or sets the number of elements that the CollectionBase can contain.
Public property Supported by the .NET Compact Framework Count Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
Top

  Name Description
Protected property Supported by the .NET Compact Framework InnerList Gets an ArrayList containing the list of elements in the CollectionBase instance.
Protected property Supported by the .NET Compact Framework List Gets an IList containing the list of elements in the CollectionBase instance.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Clear Removes all objects from the CollectionBase instance. This method cannot be overridden.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetEnumerator Returns an enumerator that iterates through the CollectionBase instance.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework RemoveAt Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Supported by the .NET Compact Framework OnClear Performs additional custom processes when clearing the contents of the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnClearComplete Performs additional custom processes after clearing the contents of the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnInsert Performs additional custom processes before inserting a new element into the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnInsertComplete Performs additional custom processes after inserting a new element into the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnRemove Performs additional custom processes when removing an element from the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnRemoveComplete Performs additional custom processes after removing an element from the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnSet Performs additional custom processes before setting a value in the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnSetComplete Performs additional custom processes after setting a value in the CollectionBase instance.
Protected method Supported by the .NET Compact Framework OnValidate Performs additional custom processes when validating a value.
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.ICollection.CopyTo Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Add Adds an object to the end of the CollectionBase.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Contains Determines whether the CollectionBase contains a specific element.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.IndexOf Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Insert Inserts an element into the CollectionBase at the specified index.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Remove Removes the first occurrence of a specific object from the CollectionBase.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the CollectionBase is synchronized (thread safe).
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the CollectionBase.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize Gets a value indicating whether the CollectionBase has a fixed size.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsReadOnly Gets a value indicating whether the CollectionBase is read-only.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item Gets or sets the element at the specified index.
Top

Community Additions

ADD
Show:
© 2014 Microsoft