View::ViewMemento method

The ViewMemento method sets the view to the specified memento's state. A memento is the programmatic equivalent of a favorite setting.

Syntax

View.ViewMemento( _
  ByVal Memento As String _
)

Parameters

Memento

The XML-readable string that represents the view's state.

Return value

This method does not return a value.

Examples

' Restore the view.
' strMemento was created by previously
' retrieving the View.Memento property.
objView.ViewMemento (strMemento)

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

View.Memento