Share via


ViewState Property

Retrieves an instance of the StateBag class that contains the ViewState information.

Syntax

Visual Basic  Protected  ReadOnly Property ViewState As StateBag
C# protected  StateBag ViewState { get; }
Managed C++ protected:  __property StateBag get_ViewState();
JScript protected   function get ViewState() : StateBag;

Possible Values

oViewState The StateBag class that contains the ViewState information.

The property is read-only. The property has no default value.

Property Information

Applies To

BaseChildNode

See Also

Internet Explorer WebControls