com.esri.arcgis.framework
Interface IDocumentDirty

All Superinterfaces:
Serializable
All Known Subinterfaces:
IDocumentDirty2
All Known Implementing Classes:
IDocumentDirty2Proxy, IDocumentDirtyProxy, MxDocument

public interface IDocumentDirty
extends Serializable

Provides access to the dirty flag of the Document.

Superseded By

IDocumentDirty2

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.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void setDirty()
          Sets the dirty flag on the document.
 

Method Detail

setDirty

void setDirty()
              throws IOException,
                     AutomationException
Sets the dirty flag on the 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. Use the SetDirty method to set the document's dirty flag to True.

The SetClean method on IDocumentDirty2 does the opposite of this.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.