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


IGPLayerSupport.MakeLayer Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPLayerSupport.MakeLayer Method

Makes a layer from a value.

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

Parameters pValue [in]
pValue is a parameter of type IGPValue Name [in] Name is a parameter of type BSTR pRenderer [in] pRenderer is a parameter of type LPUNKNOWN ppLayer [out, retval]
ppLayer is a parameter of type ILayer

Product Availability

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

See Also

IGPLayerSupport Interface