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


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

IDocumentDirty Interface

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

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Method SetDirty Sets the dirty flag on the document.

Classes that implement IDocumentDirty

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