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
'Declaración
ReadOnly Property IsDirty As Boolean
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
- 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.