Поделиться через


Sys.HistoryEventArgs Constructor

Initializes a new instance of the Sys.HistoryEventArgs class.

For a live code example that demonstrates this event in action, and for a view of how this event is used in code, see Managing Browser History Using Client Script.

var a = new HistoryEventArgs(state);

Parameters

Parameters

Definition

state

Object. A collection of key/value pairs that represent the state data. This data will be added to the main state to form the global state of the new history point.

Remarks

The state parameter is an object that contains a collection of key/value pairs. Both the key and the value must be a string. The application is responsible for converting the state data from the appropriate types and into the appropriate types.

See Also

Reference

Sys.HistoryEventArgs