ASP.NET Pack Programmer's Guide
ItemCollection(T) Members
Constructors Properties Methods Events
 


Represents a collection of Item objects.

The following tables list the members exposed by the ItemCollection(T) type.

 Public Constructors

  Name Description

ItemCollection

Overloaded. Initializes a new instance of the ItemCollection class.

 Public Properties

  Name Description

Count

Gets the count of items in the collection. (Inherited from StateCollection.)

IsReadOnly

Gets a value that indicates if the collection is read only. (Inherited from StateCollection.)

IsTrackingViewState

Gets a value that indicates whether the collection is saving changes to its view state. (Inherited from StateCollection.)

Item

Returns the item at the specified index. This is the indexer of the collection. (Inherited from StateCollection.)

Item

Overloaded.  

 Public Methods

  Name Description

Add

Adds the specified item to the collection.

AddRange

Adds the specified items to the collection.

Clear

Removes all elements from the collection.

Contains

Checks if the specified item is contained within the collection. (Inherited from StateCollection.)

Contains

Checks if the item with the specified id is within the bounds of this collection.

CopyTo

Copies the elements of the collection to an array, starting from the particular Array index. (Inherited from StateCollection.)

GetEnumerator

Returns an enumerator that iterates through the collection. (Inherited from StateCollection.)

IndexOf

Returns the index of the first occurrence of the specified item in the collection. (Inherited from StateCollection.)

Insert

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

LoadViewState

Restores view-state information from an object that was saved by the SaveViewState method (Inherited from StateCollection.)

OnChanged

Raises the Changed event. (Inherited from StateCollection.)

Remove

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

RemoveAt

Removes the item at the specified index in the collection.

SaveViewState

Saves any view-state changes that have occurred for this collection. (Inherited from StateCollection.)

TrackViewState

Causes tracking of view-state changes made to the collection so they can be stored in an object. (Inherited from StateCollection.)

 Protected Methods

  Name Description

LoadItemViewState

Restores view-state information from an object that was saved by the SaveItemViewState method.

OnAdd

Raises the Add event. (Inherited from StateCollection.)

OnAddComplete

Raises the AddComplete event. (Inherited from StateCollection.)

OnClear

Raises the Clear event. (Inherited from StateCollection.)

OnClearComplete

Raises the ClearComplete event. (Inherited from StateCollection.)

OnCollectionChanged

Raises the CollectionChanged event. (Inherited from StateCollection.)

OnInsert

Raises the Insert event. (Inherited from StateCollection.)

OnInsertComplete

Raises the InsertComplete event. (Inherited from StateCollection.)

OnRemove

Raises the Remove event. (Inherited from StateCollection.)

OnRemoveComplete

Raises the RemoveComplete event. (Inherited from StateCollection.)

OnSet

Raises the Set event. (Inherited from StateCollection.)

OnSetComplete

Raises the SetComplete event. (Inherited from StateCollection.)

SaveItemViewState

Saves any server control view-state changes that have occurred for the specified item.

TrackItemViewState

Causes tracking of view-state changes made to the specified item. (Inherited from StateCollection.)

 Public Events

  Name Description

AddComplete

Declares the AddComplete event. (Inherited from StateCollection.)

AddEvent

Declares the Add event. (Inherited from StateCollection.)

Changed

Declares the Changed event. (Inherited from StateCollection.)

ClearComplete

Declares the ClearComplete event. (Inherited from StateCollection.)

ClearEvent

Declares the Clear event. (Inherited from StateCollection.)

CollectionChanged

Declares the CollectionChanged event. (Inherited from StateCollection.)

InsertComplete

Declares the InsertComplete event. (Inherited from StateCollection.)

InsertEvent

Declares the Insert event. (Inherited from StateCollection.)

RemoveComplete

Declares the RemoveComplete event. (Inherited from StateCollection.)

RemoveEvent

Declares the Remove event. (Inherited from StateCollection.)

SetComplete

Declares the SetComplete event. (Inherited from StateCollection.)

SetEvent

Declares the Set event. (Inherited from StateCollection.)

 See Also

ItemCollection(T) Class
MindFusion.Scheduling Namespace