ITextDocument::UpdateDirtyState Method (Boolean, DateTime)
Visual Studio 2015
Updates the IsDirty and LastContentModifiedTime properties.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- isDirty
-
Type:
System::Boolean
The new value for IsDirty.
- lastContentModifiedTime
-
Type:
System::DateTime
The new value for LastContentModifiedTime.
| Exception | Condition |
|---|---|
| InvalidOperationException | This object is in the middle of raising events. |
| ObjectDisposedException | This object has been disposed. |
Show: