The ItemCollection type exposes the following members.

Constructors

  NameDescription
ItemCollection

Methods

  NameDescription
Add
Adds an item to the ItemCollection.
Clear
Removes all items from the ItemCollection.
Contains
Determines whether the ItemCollection contains a specific value.
CopyTo
Copies the elements of the ItemCollection to an array, starting at a particular array index.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator
Returns an enumerator that iterates through a collection.
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf
Determines the index of a specific item in the ItemCollection.
Insert
Inserts an item to the ItemCollection at the specified index.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnCollectionChanged
Raises the CollectionChanged event.
Remove
Removes the first occurrence of a specific object from the ItemCollection.
RemoveAt
Removes the ItemCollection item at the specified index.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Count
Gets the number of elements contained in the ItemCollection.
IsFixedSize
Gets a value indicating whether the ItemCollection has a fixed size.
IsReadOnly
Gets a value indicating whether the ItemCollection is read-only.
IsSynchronized
Gets a value indicating whether access to the ItemCollection is synchronized (thread safe).
Item
Gets or sets the element at the specified index.
SyncRoot
Gets an object that can be used to syncrhonize access to the ItemCollection.

Events

  NameDescription
CollectionChanged
Occurs when the collection changes.

See Also