Document::Views property

The Views property returns the Views object for the document. This property is read-only.

Syntax

Property Views As Views

Property value

The Views collection for the document.

Examples

' Retrieve the Views property.
Dim objViews As MMC20.Views
Set objViews = objDoc.Views
 
' Use the Views collection.
'...
' Free collection when done.
Set objViews = Nothing

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_Document

See also

Views collection