Base List ControlObject Collection Class
This object collection is used to hold items for the list controls and is sortable in ascending or
descending order.
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public sealed class ObjectCollection : IList,
ICollection, IEnumerableVB
Public NotInheritable Class ObjectCollection
Implements IList, ICollection, IEnumerableC++
public ref class ObjectCollection sealed : IList,
ICollection, IEnumerableF#
[<SealedAttribute>]
type ObjectCollection =
class
interface IList
interface ICollection
interface IEnumerable
end- Inheritance
- Object BaseListControlObjectCollection
- Implements
- ICollection, IEnumerable, IList
Constructors
| BaseListControlObjectCollection | Constructor |
Properties
| Count | This is used to get a count of the items in the collection |
| IsReadOnly | This is used to get whether or not the collection is read-only |
| Item | This is used to set or get items by index position |
Methods
| Add | Add an item to the collection |
| AddRange | Add a range of items to the collection from an array |
| Clear | Clear all items from the collection |
| Contains | Check to see if a value exists in the collection |
| CopyTo | Copy the collection items to an array |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEnumerator | Get an enumerator for the collection |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Get the index of the specified object in the collection |
| Insert | Insert a value into the collection at the specified index |
| Remove | Remove the specified value from the collection |
| RemoveAt | Remove the item at the specified index from the collection |
| ToString | Returns a string that represents the current object. (Inherited from Object) |