Partager via


Document::CreateProperties method

The CreateProperties method makes a new Properties collection for the document.

Syntax

Document.CreateProperties() As Properties

Parameters

This method has no parameters.

Examples

' Create a Properties collection for the document.
Dim objProps As MMC20.Properties
Set objProps = objDoc.CreateProperties()
 
' Use the Properties collection.
' ...
 
' Free the object when done.
Set objProps = 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

Properties collection