次の方法で共有


Document::SnapIns property

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

Syntax

Property SnapIns As SnapIns

Property value

The SnapIns collection for the document.

Examples

' Retrieve the SnapIns property.
Dim objSnapIns As MMC20.SnapIns
Set objSnapIns = objDoc.SnapIns
 
' Use the SnapIns collection.
'...
 
' Free collection when done.
Set objSnapIns = 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

SnapIns collection