Dela via


Document.Saved Property (2007 System)

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Saved As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.Saved

instance.Saved = value
[BrowsableAttribute(false)]
public bool Saved { get; set; }
[BrowsableAttribute(false)]
public:
property bool Saved {
    bool get ();
    void set (bool value);
}
public function get Saved () : boolean 
public function set Saved (value : boolean)

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 Class

Document Members

Microsoft.Office.Tools.Word Namespace