ArcObjects Library Reference (Geoprocessing)  

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