Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

StateBag Properties

The properties of the StateBag class are listed here. For a complete list of StateBag class members, see the StateBag Members topic.

Public Properties

public propertyCount Gets the number of StateItem objects in the StateBag object.
public propertyItem Gets or sets the value of an item stored in the StateBag object.

In C#, this property is the indexer for the StateBag class.

public propertyKeys Gets a collection of keys representing the items in the StateBag object.
public propertyValues Gets a collection of the view-state values stored in the StateBag object.

See Also

StateBag Class | System.Web.UI Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.