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


ILayerFile.New Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILayerFile.New Method

Creates and opens a new layer File in preparation for the contents to be retrieve or updated.

[Visual Basic .NET]
Public Sub New ( _
    ByVal sFile As String _
)
[C#]
public void New (
    string sFile
);
[C++]
HRESULT New(
  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

.NET Snippets

Save Layer To File