次の方法で共有


View::Memento property

The Memento property returns a memento for the current view. A memento is the programmatic equivalent of a favorite setting. This property is read-only.

Syntax

Property Memento As String

Property value

An XML-readable string that represents the current view.

Examples

' Retrieve the Memento property.
Dim strMemento As String
strMemento = objView.Memento

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.ViewMemento