Represents a strongly-typed collection of T objects.
The following tables list the members exposed by the StateCollection(T) type.
Name | Description | |
---|---|---|
![]() |
Overloaded. Initializes a new instance of the StateCollection class. |
Name | Description | |
---|---|---|
![]() |
Gets the count of items in the collection. |
|
![]() |
Gets a value that indicates if the collection is read only. |
|
![]() |
Gets a value that indicates whether the collection is saving changes to its view state. |
|
![]() |
Returns the item at the specified index. This is the indexer of the collection. |
Name | Description | |
---|---|---|
![]() |
Adds a new item to the collection. |
|
![]() |
Removes all items from the collection. |
|
![]() |
Checks if the specified item is contained within the collection. |
|
![]() |
Copies the elements of the collection to an array, starting from the particular Array index. |
|
![]() |
Returns an enumerator that iterates through the collection. |
|
![]() |
Returns the index of the first occurrence of the specified item in the collection. |
|
![]() |
Inserts the specified item into the array at the specified index. |
|
![]() |
Restores view-state information from an object that was saved by the SaveViewState method |
|
![]() |
Raises the Changed event. |
|
![]() |
Removes the specified item from the collection. |
|
![]() |
Removes the item at the specified index. |
|
![]() |
Saves any view-state changes that have occurred for this collection. |
|
![]() |
Causes tracking of view-state changes made to the collection so they can be stored in an object. |
Name | Description | |
---|---|---|
![]() |
Restores view-state information for the item that was previously saved by the SaveItemViewState method. |
|
![]() |
Raises the Add event. |
|
![]() |
Raises the AddComplete event. |
|
![]() |
Raises the Clear event. |
|
![]() |
Raises the ClearComplete event. |
|
![]() |
Raises the CollectionChanged event. |
|
![]() |
Raises the Insert event. |
|
![]() |
Raises the InsertComplete event. |
|
![]() |
Raises the Remove event. |
|
![]() |
Raises the RemoveComplete event. |
|
![]() |
Raises the Set event. |
|
![]() |
Raises the SetComplete event. |
|
![]() |
Saves any view-state changes that have occurred of the specified item. |
|
![]() |
Causes tracking of view-state changes made to the specified item. |
Name | Description | |
---|---|---|
![]() |
Declares the AddComplete event. |
|
![]() |
Declares the Add event. |
|
![]() |
Declares the Changed event. |
|
![]() |
Declares the ClearComplete event. |
|
![]() |
Declares the Clear event. |
|
![]() |
Declares the CollectionChanged event. |
|
![]() |
Declares the InsertComplete event. |
|
![]() |
Declares the Insert event. |
|
![]() |
Declares the RemoveComplete event. |
|
![]() |
Declares the Remove event. |
|
![]() |
Declares the SetComplete event. |
|
![]() |
Declares the Set event. |