public sealed class ObjectCollection : IList,
ICollection, IEnumerablePublic NotInheritable Class ObjectCollection
Implements IList, ICollection, IEnumerablepublic ref class ObjectCollection sealed : IList,
ICollection, IEnumerable[<SealedAttribute>]
type ObjectCollection =
class
interface IList
interface ICollection
interface IEnumerable
end| BaseListControlObjectCollection | Constructor |
| 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 |
| 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) |