This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFile Interface > ILayerFile.SaveAs Method (ArcObjects .NET 10.5 SDK) |
Save the contents of the layer file to the specified file name.
[Visual Basic .NET] Public Sub SaveAs ( _ ByVal sFile As String _ )
[C#] public void SaveAs ( string sFile );
[C++]
HRESULT SaveAs(
BSTR sFile
);
[C++]
Parameters sFile [in] sFile is a parameter of type BSTR