StateBag Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | |
| Clear |
Removes all items from the current StateBag object.
|
| Equals |
Overloaded.
Determines whether two Object instances are equal.
(inherited from
Object)
|
| GetEnumerator |
Returns an enumerator that iterates over all the key/value pairs of the StateItem objects stored in the StateBag object.
|
| GetHashCode |
Serves as a hash function for a particular type.
(inherited from
Object)
|
| GetType |
Gets the Type of the current instance.
(inherited from
Object)
|
| IsItemDirty |
Checks a StateItem object stored in the StateBag object to evaluate whether it has been modified since the call to Control.TrackViewState.
|
| ReferenceEquals |
Determines whether the specified Object instances are the same instance.
(inherited from
Object)
|
| Remove |
Removes the specified key/value pair from the StateBag object.
|
| SetDirty |
Sets the state of the StateBag object as well as the Dirty property of each of the StateItem objects contained by it.
|
| SetItemDirty |
Sets the Dirty property for the specified StateItem object in the StateBag object.
|
| ToString |
Returns a String that represents the current Object.
(inherited from
Object)
|
| Name | Description | |
|---|---|---|
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(inherited from
Object)
|
| MemberwiseClone |
Creates a shallow copy of the current Object.
(inherited from
Object)
|
| Name | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo |
For a description of this member, see ICollection.CopyTo.
|
| System.Collections.IDictionary.Add |
For a description of this member, see IDictionary.Add.
|
| System.Collections.IDictionary.Contains |
For a description of this member, see IDictionary.Contains.
|
| System.Collections.IDictionary.Remove |
For a description of this member, see Remove.
|
| System.Collections.IEnumerable.GetEnumerator |
For a description of this member, see IEnumerable.GetEnumerator.
|
| System.Web.UI.IStateManager.LoadViewState |
Restores the previously saved view state of the StateBag object.
|
| System.Web.UI.IStateManager.SaveViewState |
Saves the changes to the StateBag object since the time the page was posted back to the server.
|
| System.Web.UI.IStateManager.TrackViewState |
Causes the StateBag object to track changes to its state so that it can be persisted across requests.
|
Community Additions
ADD
Show: