Share via


ITextDocument.IsDirty Property

Determines whether the ITextBuffer is dirty.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
ReadOnly Property IsDirty As Boolean
bool IsDirty { get; }
property bool IsDirty {
    bool get ();
}
abstract IsDirty : bool with get
function get IsDirty () : boolean

Property Value

Type: System.Boolean
true if dirty, otherwise false.

Remarks

If true, the contents of TextBuffer have changed since the file was last loaded or saved. If false, the contents of TextBuffer have not changed since the file was last loaded or saved.

.NET Framework Security

See Also

Reference

ITextDocument Interface

Microsoft.VisualStudio.Text Namespace