Foley .NET Utilities Class Library

List2Base Members

Public Instance Properties

Count (inherited from Collection2Base) When implemented by a class, gets the number of elements contained in the collection.
IsEmpty (inherited from Collection2Base) Gets a boolean value idicating whether the collection is empty or not.
IsFixedSize (inherited from Collection2Base) Gets a boolean value indicating whether the collection has a fixed size.
IsReadOnly (inherited from Collection2Base) Gets a boolean value indicating whether the collection is read-only.
IsSynchronized (inherited from Collection2Base) Gets a boolean value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the Object at the specified index. In C#, this property is the indexer for the list.
SyncRoot (inherited from Collection2Base) Gets an Object that can be used to synchronize access to the collection.

Public Instance Methods

AddOverloaded. When implemented by a class, adds an Object to the list.
Clear (inherited from Collection2Base) Removes all elements from the collection.
ContainsOverloaded. Determines whether the specified Object is in the list.
CopyTo (inherited from Collection2Base) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetEnumeratorOverloaded. When implemented by a class, returns an IEnumerator that can iterate through the list that starts at the specified position.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
IndexOf When implemented by a class, searches for the specified Object and returns the zero-based index of the first occurrence within the list.
InsertOverloaded. When implemented by a class, inserts the elements of the ICollection to the list starting at the specified position.
LastIndexOf When implemented by a class, determines the index of the last occurrence of the specified Object in the list.
RemoveOverloaded. Removes the first occurrence of each element of the specified ICollection from the list.
RemoveAt When implemented by a class, removes the element at the specified position from the list.
Retain Retains the first occurrence of each element of the specified ICollection from the list.
SubList When implemented by a class, provides a view of the list with the specified number of the elements starting at the position specified.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Constructors

List2Base Constructor Protected constructor for abstract class.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
IsContainedIn (inherited from Collection2Base) Determins if the specified value is contained in the specified collection.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.

Explicit Interface Implementations

IList.Insert This method provided for backwards compatiblity with IList.
IList.Remove This method provided for backwards compatiblity with IList.
IList.RemoveAt This method provided for backwards compatiblity with IList.

See Also

List2Base Class | Foley.Utilities.Collections Namespace