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


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

IGPUtilities2.SaveLayer Method

Saves a layer to a given location on disk.

[Visual Basic .NET]
Public Sub SaveLayer ( _
    ByVal catalogPath As String, _
    ByVal pLayer As ILayer _
)
[C#]
public void SaveLayer (
    string catalogPath,
    ILayer pLayer
);
[C++]
HRESULT SaveLayer(
  BSTR catalogPath,
  ILayer* pLayer
);
[C++]
Parameters
catalogPath [in]

catalogPath is a parameter of type BSTR pLayer [in]
pLayer is a parameter of type ILayer*

Product Availability

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

See Also

IGPUtilities2 Interface