This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface > IMSDHelper.GetLayerDisplayName Method (ArcObjects .NET 10.4 SDK) |
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,
BSTR* layerDisplayName
);
[C++]
Parameters layerPath [in] layerPath is a parameter of type BSTR layerDisplayName [out, retval] layerDisplayName is a parameter of type BSTR