共用方式為


Document.Saved Property

Definition

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

public:
 property bool Saved { bool get(); void set(bool value); };
public bool Saved { get; set; }
member this.Saved : bool with get, set
Public Property Saved As Boolean

Property Value

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.)

Applies to