This document is archived and information here might be outdated.  Recommended version.


IMapControl4.DocumentMap Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl4 Interface > IMapControl4.DocumentMap Property
ArcGIS Developer Help

IMapControl4.DocumentMap Property

The name of the map that was last loaded into the control from a map document.

[Visual Basic .NET]
Public Property DocumentMap As String
[C#]
public string DocumentMap {get; set;}
[C++]
HRESULT get_DocumentMap(
void
);
[C++]
HRESULT put_DocumentMap(
);

Product Availability

Available with ArcGIS Engine.

Description

Returns the name of the last Map loaded into the MapControl with the LoadMxFile method. An empty string will be returned if no document is loaded.

See Also

IMapControl4 Interface