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


IGPUtilities2.AddToMapEx Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.AddToMapEx Method
ArcGIS Developer Help

IGPUtilities2.AddToMapEx Method

Adds the given geoprocessing value object to the application display.

[Visual Basic .NET]
Public Sub AddToMapEx ( _
    ByVal pGPValue As IGPValue, _
    ByVal Name As String, _
    ByVal temporary As Boolean, _
    ByVal pUnkRenderer As Object, _
    ByVal Visible As Boolean _
)
[C#]
public void AddToMapEx (
    IGPValue pGPValue,
    string Name,
    bool temporary,
    object pUnkRenderer,
    bool Visible
);
[C++]
HRESULT AddToMapEx(
  IGPValue* pGPValue,
  BSTR Name,
  VARIANT_BOOL temporary,
  LPUNKNOWN pUnkRenderer,
  VARIANT_BOOL Visible
);
[C++]
Parameters
pGPValue [in]

pGPValue is a parameter of type IGPValue* Name [in]
Name is a parameter of type BSTR temporary [in]
temporary is a parameter of type bool pUnkRenderer [in]
pUnkRenderer is a parameter of type IUnknown Visible [in]
Visible is a parameter of type bool

Product Availability

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

See Also

IGPUtilities2 Interface