次の方法で共有


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

Syntax

'Declaration
Property Saved As Boolean
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

Document Interface

Microsoft.Office.Tools.Word Namespace