StateBag Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Add(String^, Object^) | |
![]() | Clear() | Removes all items from the current StateBag object. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IsItemDirty(String^) | Checks a StateItem object stored in the StateBag object to evaluate whether it has been modified since the call to Control::TrackViewState. |
![]() | Remove(String^) | Removes the specified key/value pair from the StateBag object. |
![]() | SetDirty(Boolean) | |
![]() | SetItemDirty(String^, Boolean) | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo(Array^, Int32) | For a description of this member, see ICollection::CopyTo. |
![]() ![]() | IDictionary::Add(Object^, Object^) | For a description of this member, see IDictionary::Add. |
![]() ![]() | IDictionary::Contains(Object^) | For a description of this member, see IDictionary::Contains. |
![]() ![]() | IDictionary::Remove(Object^) | For a description of this member, see Remove. |
![]() ![]() | IEnumerable::GetEnumerator() | For a description of this member, see IEnumerable::GetEnumerator. |
![]() ![]() | IStateManager::LoadViewState(Object^) | Restores the previously saved view state of the StateBag object. |
![]() ![]() | IStateManager::SaveViewState() | Saves the changes to the StateBag object since the time the page was posted back to the server. |
![]() ![]() | IStateManager::TrackViewState() | Causes the StateBag object to track changes to its state so that it can be persisted across requests. |


