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