Document.Saved Property

 

Gets or sets a value that indicates whether the document has not changed since it was last saved.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

bool Saved { get; set; }

Property Value

Type: System.Boolean

true if the document has not changed since it was last saved; otherwise, false. (If false, Microsoft Office Word displays a prompt to save changes when the document is closed.)

Return to top
Show: