_Document.Saved Property
Determines if the specified document or template hasn't changed since it was last saved.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Saved As Boolean
Get
Set
'Usage
Dim instance As _Document
Dim value As Boolean
value = instance.Saved
instance.Saved = value
bool Saved { get; set; }
Property Value
Type: System.Boolean
Remarks
This property returns True if the specified document or template hasn't changed since it was last saved, and False if Microsoft Word displays a prompt to save changes when the document is closed. Set the property value to True or False to enable or disable the functionality.