System.Web.UI.StateBag.Values Property

Gets a collection of the view-state values stored in the System.Web.UI.StateBag object.

Syntax

public ICollection Values { get; }

Value

a ICollection

Remarks

This is a collection that contains the values for all the System.Web.UI.StateItem objects in the specified page or control. You can iterate through these values by using the StateBag.GetEnumerator method.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0