This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface > IMSDHelper.IsActiveMap Method (ArcObjects .NET 10.5 SDK) |
Given the map's catalog path, returns a boolean inidicating if it is the active map.
[Visual Basic .NET] Public Function IsActiveMap ( _ ByVal mapPath As String _ ) As Boolean
[C#] public bool IsActiveMap ( string mapPath );
[C++]
HRESULT IsActiveMap(
BSTR mapPath,
VARIANT_BOOL* activeMap
);
[C++]
Parameters mapPath [in] mapPath is a parameter of type BSTR activeMap [out, retval] activeMap is a parameter of type VARIANT_BOOL