Partager via


Document::IsSaved property

The IsSaved property returns whether the file has been saved. This property is read-only.

Syntax

Property IsSaved As Long

Property value

1 if the document has no unsaved changes, or 0 if there have been changes to the document since it was last saved.

Examples

Dim nSaved As Long
nSaved = objDoc.IsSaved

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

Document.Close

Document.Save

Document.SaveAs