Partager via


DocumentBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property Saved As Boolean
public 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.)

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace