WebPartVerb.IStateManager.SaveViewState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the SaveViewState() method by calling the WebPartVerb class's own SaveViewState() method.
virtual System::Object ^ System.Web.UI.IStateManager.SaveViewState() = System::Web::UI::IStateManager::SaveViewState;
object IStateManager.SaveViewState ();
abstract member System.Web.UI.IStateManager.SaveViewState : unit -> obj
override this.System.Web.UI.IStateManager.SaveViewState : unit -> obj
Function SaveViewState () As Object Implements IStateManager.SaveViewState
Returns
Returns an Object containing the control's current view state. If no view state is associated with the control, this method returns null
.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the WebPartVerb instance is cast to an IStateManager interface. The method simply calls the SaveViewState method on the WebPartVerb class.
Applies to
See also
.NET