System.Web.UI.IStateFormatter

Defines methods that a type implements to serialize and deserialize an object graph.

See Also: IStateFormatter Members

Syntax

public interface IStateFormatter

Remarks

The System.Web.UI.IStateFormatter interface defines methods that a type can implement to serialize and deserialize the state that an ASP.NET Web server control maintains in its Control.ViewState property. This infrastructure is used by classes that derive from the System.Web.UI.PageStatePersister class to maintain an ASP.NET page's state between requests. By default, ASP.NET page state is serialized and deserialized by an instance of the System.Web.UI.ObjectStateFormatter class; however, site and adapter developers can implement the System.Web.UI.IStateFormatter interface on their own types to perform this work.

For more information about Web server control state management and view state, see ASP.NET State Management Overview and Dynamic Web Server Controls and View State.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0