This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.MakeLayer Method (ArcObjects .NET 10.5 SDK) |
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