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.