Udostępnij za pośrednictwem


_Solution.Saved Property

Returns true if the object has not been modified since last being saved or opened.

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

Syntax

'Declaration
Property Saved As Boolean
'Usage
Dim instance As _Solution 
Dim value As Boolean 

value = instance.Saved

instance.Saved = value
bool Saved { get; set; }
property bool Saved {
    bool get ();
    void set (bool value);
}
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

_Solution Interface

_Solution Members

EnvDTE Namespace

Other Resources

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