.NET Framework Class Library
CollectionBase Members

Provides the abstract base class for a strongly typed collection.

The CollectionBase type exposes the following members.

Constructors

  NameDescription
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCollectionBaseOverloaded. Initializes a new instance of the CollectionBase class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClearRemoves all objects from the CollectionBase instance. This method cannot be overridden.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEnumeratorReturns an enumerator that iterates through the CollectionBase instance.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnClearPerforms additional custom processes when clearing the contents of the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnClearCompletePerforms additional custom processes after clearing the contents of the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnInsertPerforms additional custom processes before inserting a new element into the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnInsertCompletePerforms additional custom processes after inserting a new element into the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnRemovePerforms additional custom processes when removing an element from the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnRemoveCompletePerforms additional custom processes after removing an element from the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnSetPerforms additional custom processes before setting a value in the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnSetCompletePerforms additional custom processes after setting a value in the CollectionBase instance.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnValidatePerforms additional custom processes when validating a value.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveAtRemoves the element at the specified index of the CollectionBase instance. This method is not overridable.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCastConverts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfTypeFilters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCapacityGets or sets the number of elements that the CollectionBase can contain.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCountGets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
Protected propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkInnerListGets an ArrayList containing the list of elements in the CollectionBase instance.
Protected propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkListGets an IList containing the list of elements in the CollectionBase instance.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.AddAdds an object to the end of the CollectionBase.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.ContainsDetermines whether the CollectionBase contains a specific element.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection..::.CopyToCopies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.IndexOfSearches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.InsertInserts an element into the CollectionBase at the specified index.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.IsFixedSizeGets a value indicating whether the CollectionBase has a fixed size.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.IsReadOnlyGets a value indicating whether the CollectionBase is read-only.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection..::.IsSynchronizedGets a value indicating whether access to the CollectionBase is synchronized (thread safe).
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.ItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.RemoveRemoves the first occurrence of a specific object from the CollectionBase.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection..::.SyncRootGets an object that can be used to synchronize access to the CollectionBase.
Top
See Also

Reference

Tags :


Page view tracker