Provides access to the dirty flag of the Document. Note: the IDocumentDirty interface has been superseded byIDocumentDirty2. Please consider using the more recent version.
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.