次の方法で共有


_Application::Document property

The Document property returns a Document object that represents the application document. This property is read-only.

Syntax

Property Document As Document

Property value

The Document object for the application.

Examples

' Retrieve the Document property.
Dim objDoc As Document
Set objDoc = objMMC.Document

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
CLSID
CLSID_Application is defined as 49B2791A-B1AE-4C90-9B8E-E860BA07F889
IID
IID__Application is defined as A3AFB9CC-B653-4741-86AB-F0470EC1384C

See also

Document object