ArcObjects Library Reference (Framework)  

IDocumentDirty Interface

Provides access to the dirty flag of the Document. Note: the IDocumentDirty interface has been superseded byIDocumentDirty2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method SetDirty Sets the dirty flag on the document.

CoClasses that implement IDocumentDirty

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

Custom feedback tool and font drop-down list tool control (Code Files: FontToolControl)