Source::IsDirty Property

 

Gets or sets whether any of the lines of source have changed.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool IsDirty {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if at least one line of source has changed; otherwise, returns false.

Each time this property is set, an internal value is incremented, tracking the number of changes made during the life of this Source object. This change count value can be retrieved with the ChangeCount property. This value is typically used internally to synchronize changes.

Return to top
Show: