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


IMSDHelper.GetLayerType Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMSDHelper.GetLayerType Method

Given the layer's catalog path, returns the layer type.

[Visual Basic .NET]
Public Function GetLayerType ( _
    ByVal layerPath As String _
) As String
[C#]
public string GetLayerType (
    string layerPath
);
[C++]
HRESULT GetLayerType(
  BSTR layerPath,
  BSTR* LayerType
);
[C++]

Parameters layerPath [in] layerPath is a parameter of type BSTR LayerType [out, retval] LayerType is a parameter of type BSTR

Product Availability

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

See Also

IMSDHelper Interface