ArcObjects Library Reference (Geoprocessing)  

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,
  ILayer** ppLayer
);
[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 LPUNKNOWN ppLayer [out, retval]

  ppLayer is a parameter of type ILayer

Product Availability

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

See Also

IGPUtilities2 Interface