Condividi tramite


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

'Dichiarazione
ReadOnly Property IsDirty As Boolean
    Get
bool IsDirty { get; }
property bool IsDirty {
    bool get ();
}
abstract IsDirty : bool
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