Version

SparseCollectionBase Class Members

The following tables list the members exposed by SparseCollectionBase.

Public Properties
 NameDescription
Public PropertyAllThe collection as an array of objects  
Public PropertyCountReturns the number of items in the collection  
Public PropertyIsReadOnlyReturns true if the collection is read-only  
Public PropertyIsSynchronizedGets a value indicating whether access to the ArrayList is synchronized (thread-safe).  
Public PropertySyncRootGets an object that can be used to synchronize access to the collection.  
Public Methods
 NameDescription
Public MethodContainsReturns true if the collection contains the object  
Public MethodCopyToCopies the items from the collection into the array.  
Public MethodGetItemVirtual method that returns the object at the specified index  
Public MethodIndexOfReturns the index of the object in the collection  
Protected Methods
 NameDescription
Protected MethodCreateArrayVirtual method used by the All 'get' method to create the array it returns.  
Protected MethodInternalAddAppends the object to the collection  
Protected MethodInternalAddRangeAdds items in the specified collection to this collection.  
Protected MethodInternalClearClears the collection.  
Protected MethodInternalInsertAppends the object to the collection  
Protected MethodInternalRemoveOverloaded. Removes an item from the collection  
Protected MethodSortSorts the collection according to the specified comparer.  
See Also