Поделиться через


Document::Application property

The Application property returns the object that represents the document's parent application. This property is read-only.

Syntax

Property Application As Application

Property value

The Application object for the document's parent.

Examples

' Obtain the application object for the document.
Dim objApp As MMC20.Application
Set objApp = objDoc.Application
 
' Use the application object.
' ...
' When done, free the application object.
Set objApp = 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

Application object