This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl3 Interface > IMapControl3.DocumentMap Property (ArcObjects .NET 10.4 SDK) |
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(
BSTR* pVal
);
[C++]
HRESULT put_DocumentMap(
BSTR pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type BSTR pVal [in] pVal is a parameter of type BSTR
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.