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

Automate ArcGIS Desktop applications (Code Files: Form1) | Layer property page and property sheet (Code Files: SimpleLayerPropertiesCmd) | 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 the ArcGIS Desktop applications | How to create property pages and property sheets |