//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
/*
* Interface implemented by objects that support state management.
*
* Copyright (c) 1999 Microsoft Corporation
*/
namespace System.Web.UI {
///
/// Defines the contract that controls must implement to support state
/// management.
///
public interface IStateManager {
/*
* Return true if tracking state changes.
*/
///
/// Determines if state changes are being tracked.
///
bool IsTrackingViewState {
get;
}
/*
* Load previously saved state.
*/
///
/// Loads the specified control's previously saved state.
///
void LoadViewState(object state);
/*
* Return object containing state changes.
*/
///
/// Returns the object that contains the state changes.
///
object SaveViewState();
/*
* Start tracking state changes.
*/
///
/// Instructs the control to start tracking changes in state.
///
void TrackViewState();
}
}