|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.RemoveFromMapEx Method (ArcObjects .NET 10.4 SDK) | 
Removes the data/layers specified by the geoprocessing value object from the map.
[Visual Basic .NET] Public Sub RemoveFromMapEx ( _ ByVal pGPValue As IGPValue _ )
[C#] public void RemoveFromMapEx ( IGPValue pGPValue );
[C++]
HRESULT RemoveFromMapEx(
  IGPValue* pGPValue
);
[C++]
Parameters pGPValue [in]
pGPValue is a parameter of type IGPValue