C1.Win.C1Report.4 Assembly > C1.Win.C1Preview Namespace > C1PreviewPane Class : AddViewStateToHistory Method |
The newly created object is then added to the ViewHistory collection.
Adding of the new state to history can be cancelled in the HistoryItemAdding event.
'Declaration Public Function AddViewStateToHistory( _ ByVal userAction As HistorySavedActionsEnum, _ ByVal historyItemCaption As System.String, _ ByVal viewState As ViewState _ ) As ViewHistoryItem
public ViewHistoryItem AddViewStateToHistory( HistorySavedActionsEnum userAction, System.string historyItemCaption, ViewState viewState )