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


IGPUtilities.CanAddToMap Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.CanAddToMap Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPUtilities Interface