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