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


ILayerFile.Filename Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILayerFile.Filename Property

The name of the layer file that the LayerFile coclass is linked to.

[Visual Basic .NET]
Public ReadOnly Property Filename As String
[C#]
public string Filename {get;}
[C++]
HRESULT get_Filename(
  BSTR* sFile
);
[C++]

Parameters sFile [out, retval] sFile is a parameter of type BSTR

Product Availability

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

See Also

ILayerFile Interface