ArcObjects Library Reference (ArcMapUI)  

IBasicDocument Interface

Provides access to members that control the Basic Document.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method AddLayer Adds a layer to the current focus map or scene.
Read/write property ContextItem The last item that was right-clicked.
Read-only property SelectedItem The selected item in the layer control.
Read-only property SelectedLayer The selected layer in the layer control.
Read-only property TableProperties Table properties, for Layers and Tables.
Method UpdateContents Notifies the document that the contents have been updated.

CoClasses that implement IBasicDocument

CoClasses and Classes Description
MxDocument Esri Mx Document.

.NET Samples

Layer property page and property sheet (Code Files: SimpleLayerPropertiesCmd) | Automate ArcGIS for Desktop applications (Code Files: Form1) | Simple logging dockable window with a custom context menu (Code Files: LoggingDockableWindow) | Time Series Graph tool add-in (Code Files: TimeSeriesGraph)

.NET Related Topics

Automating ArcGIS for Desktop applications | How to create property pages and property sheets