ProjectItem.Saved Property

Gets or sets a value indicating whether or not the object has been modified since last being saved or opened.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Property Saved As Boolean
bool Saved { get; set; }
property bool Saved {
    bool get ();
    void set (bool value);
}
abstract Saved : bool with get, set
function get Saved () : boolean
function set Saved (value : boolean)

Property Value

Type: System.Boolean
A Boolean value indicating true (default) if the object has not been modified since last being saved or opened; false if otherwise.

Remarks

The Saved property replaces the IsDirty property in Visual Studio version 6.0, but it returns the opposite value of IsDirty.

.NET Framework Security

See Also

Reference

ProjectItem Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples