Represents a strongly-typed collection of Item objects.
The following tables list the members exposed by the ItemCollection type.
Name | Description | |
---|---|---|
Initializes a new instance of the ItemCollection class. |
Name | Description | |
---|---|---|
Gets the number of items in the collection. |
||
Overloaded. Gets an Item object from the collection given its zero-based index or identifier. |
Name | Description | |
---|---|---|
Adds the specified item to this collection. |
||
Adds the specified items to this collection. |
||
Removes all elements from the collection. |
||
Overloaded. Determines whether this collection contains an item. |
||
IList<Item>.GetEnumerator implementation. |
||
Returns the zero-based index of the first occurrence of the specified item within this collection. |
||
Inserts the specified item at the specified position within the collection. |
||
Removes the first occurrence of the specified item from this collection. |
||
Removes the item at the specified index of this collection. |
Name | Description | |
---|---|---|
Raised when the collection has been changed. |