ArcObjects Library Reference (Carto)  

ILayerFile.SaveAs Method

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

Product Availability

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

See Also

ILayerFile Interface