The Document property returns the view's document. This property is read-only.
Syntax
Property Document As Document
Property value
The view's Document object.
Examples
' Retrieve the Document.
Dim objVwDoc As MMC20.Document
Set objVwDoc = objView.Document
' Use the Document object.
' ...
' Free the object when done.
Set objVwDoc = Nothing
Requirements
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| IDL |
|
| DLL |
|
| IID |
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38 |