This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.CanAddToMap Method (ArcObjects .NET 10.5 SDK) |
Returns whether datasets can be added to the current application display.
[Visual Basic .NET] Public Function CanAddToMap ( _ ) As Boolean
[C#] public bool CanAddToMap ( );
[C++]
HRESULT CanAddToMap(
VARIANT_BOOL* pCanAddToMap
);
[C++]
Parameters pCanAddToMap [out, retval] pCanAddToMap is a parameter of type VARIANT_BOOL