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
'Usage
Dim instance As ProjectItem
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples