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


IGPUtilities2.MakeLayer 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.MakeLayer Method
ArcGIS Developer Help

IGPUtilities2.MakeLayer Method

Creates appropriate layer for the value.

[Visual Basic .NET]
Public Function MakeLayer ( _
    ByVal pValue As IGPValue, _
    ByVal Name As String, _
    ByVal pUnkRenderer As Object _
) As ILayer
[C#]
public ILayer MakeLayer (
    IGPValue pValue,
    string Name,
    object pUnkRenderer
);
[C++]
HRESULT MakeLayer(
  IGPValue* pValue,
  BSTR Name,
  LPUNKNOWN pUnkRenderer
);
[C++]
Parameters
pValue [in]

pValue is a parameter of type IGPValue* Name [in]
Name is a parameter of type BSTR pUnkRenderer [in]
pUnkRenderer is a parameter of type IUnknown

Product Availability

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

See Also

IGPUtilities2 Interface