DataKey.SaveViewState Method

Definition

Saves the current view state of the DataKey object.

C#
protected virtual object SaveViewState();

Returns

An Object that contains the saved state of the DataKey object.

Remarks

The SaveViewState method is a helper method used by the DataKey class to save the state of the object.

Nota

This method is used primarily by control developers.

Notes to Inheritors

When extending the DataKey class, you can override this method to implement your own routine to save the view state for the object.

Applies to

Producto Versiones
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also