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


IDocumentDirty2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > ID > IDocumentDirty2 Interface
ArcGIS Developer Help

IDocumentDirty2 Interface

Provides access to the dirty flag of the Document.

Product Availability

Available with ArcGIS Desktop.

Members

Name 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.

Classes that implement IDocumentDirty2

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.