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

ILayerFile.Filename Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFile Interface > ILayerFile.Filename Property
ArcGIS Developer Help

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
public string Filename {get;}
HRESULT get_Filename(
  System.String* sFile
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