This document is archived and information here might be outdated.  Recommended version.


IDocumentDirty2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Framework)  

IDocumentDirty2 Interface

Provides access to the dirty flag of the Document.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method SetClean Resets the dirty flag on the document.
Method SetDirty Sets the dirty flag on the document.

Inherited Interfaces

Interfaces Description
IDocumentDirty Provides access to the dirty flag of the Document.

CoClasses that implement IDocumentDirty2

CoClasses and Classes Description
MxDocument (esriArcMapUI) Esri Mx Document.

Remarks

If the document's dirty flag is set to True, then you will be prompted to save the document when the document is closed or the ArcMap application is shut down.

.NET Samples

Automate ArcGIS for Desktop applications (Code Files: Form1)

.NET Related Topics

Automating ArcGIS for Desktop applications