Source.IsDirty Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether any of the lines of source have changed.
public:
virtual property bool IsDirty { bool get(); void set(bool value); };
public:
virtual property bool IsDirty { bool get(); void set(bool value); };
public virtual bool IsDirty { get; set; }
member this.IsDirty : bool with get, set
Public Overridable Property IsDirty As Boolean
Property Value
true
if at least one line of source has changed; otherwise, returns false
.
Remarks
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.