SetSaved
Collapse the table of content
Expand the table of content

ITextDocument::SetSaved method

Sets the document Saved property.

Syntax


HRESULT SetSaved(
  [inlong Bool
);

Parameters

Bool [in]

Type: long

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

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextDocument
GetSaved
Conceptual
Text Object Model

 

 

Show:
© 2016 Microsoft