Search
ItemCollection Members
Constructors Properties Methods Events
 


Represents a strongly-typed collection of Item objects.

The following tables list the members exposed by the ItemCollection type.

 Public Constructors

  Name Description

ItemCollection

Initializes a new instance of the ItemCollection class.

 Public Properties

  Name Description

Count

Gets the number of items in the collection.

Item

Overloaded. Gets an Item object from the collection given its zero-based index or identifier.

 Public Methods

  Name Description

Add

Adds the specified item to this collection.

AddRange

Adds the specified items to this collection.

Clear

Removes all elements from the collection.

Contains

Overloaded. Determines whether this collection contains an item.

GetEnumerator

IList<Item>.GetEnumerator implementation.

IndexOf

Returns the zero-based index of the first occurrence of the specified item within this collection.

Insert

Inserts the specified item at the specified position within the collection.

Remove

Removes the first occurrence of the specified item from this collection.

RemoveAt

Removes the item at the specified index of this collection.

 Public Events

  Name Description

Changed

Raised when the collection has been changed.

 See Also