ITextDocument::SetSaved method (tom.h)

Sets the document Saved property.

Syntax

HRESULT SetSaved(
  [in] long Value
);

Parameters

[in] Value

Type: long

New value of the Saved property. It can be one of the following values.

Value Meaning
tomTrue
No changes to the file since the last time it was saved.
tomFalse
There are changes to the file.

Return value

Type: HRESULT

The return value is S_OK.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

Conceptual

GetSaved

ITextDocument

Reference

Text Object Model