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


IMSDHelper.GetLayerDisplayName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface > IMSDHelper.GetLayerDisplayName Method
ArcGIS Developer Help

IMSDHelper.GetLayerDisplayName Method

Given the layer's catalog path, returns its TOC display name.

[Visual Basic .NET]
Public Function GetLayerDisplayName ( _
    ByVal layerPath As String _
) As String
[C#]
public string GetLayerDisplayName (
    string layerPath
);
[C++]
HRESULT GetLayerDisplayName(
  BSTR layerPath
);
[C++]
Parameters
layerPath [in]

layerPath is a parameter of type BSTR

Product Availability

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

See Also

IMSDHelper Interface