ArcObjects Library Reference (Framework)  

IApplication.Document Property

The document that is currently loaded in the application.

[Visual Basic .NET]
Public ReadOnly Property Document As IDocument
[C#]
public IDocument Document {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

In ArcMap, the Document is the currently loaded document.
In ArcCatalog, the Document is the Normal template.

Both ArcMap and ArcCatalog applications are composed of several things including a document. The document is an object which controls the representation of data. In ArcMap, the document object is the MxDocument CoClass and in ArcCatalog it is the GxDocument CoClass. Access to these CoClasses is provided through this property.

See Also

IApplication Interface | IDocument Interface | MxDocument Class | GxDocument for use with ArcCatalog Class