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


IMapServerSublayer.LayerDescription Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerSublayer Interface > IMapServerSublayer.LayerDescription Property
ArcGIS Developer Help

IMapServerSublayer.LayerDescription Property

The layer description.

[Visual Basic .NET]
Public ReadOnly Property LayerDescription As ILayerDescription
[C#]
public ILayerDescription LayerDescription {get;}
[C++]
HRESULT get_LayerDescription(
  ILayerDescription** layerDesc
);
[C++]
Parameters
layerDesc [out, retval]

layerDesc is a parameter of type ILayerDescription**

Product Availability

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

Remarks

Use LayerDescription to access properties of ILayerDescription. The ID value may not match the Layer index value on ICompositeLayer or ICompositeLayer2. This is because the count on ICompositeLayer or ICompositeLayer2 does not include members of composite layers embedded within the MapServerSublayer. Only the parent layer is counted.

MapServerSubLayer does not support the ILayerDescription properties ScaleSymbols, ShowLabels and Visible. ScaleSymbols and ShowLabels can be accessed via IMapServerSubLayer. The property controlling a MapServerSubLayers visibility, Visible, can be accessed via ILayer.

The ILayerDescription properties SelectionFeatures, SelectionColor, SelectionSymbol, SetSelectionSymbol, SelectionBufferDistance and ShowSelectionBuffer can be used to select and buffer (euclidean buffer) features of a Map Server SubLayer.

See Also

IMapServerSublayer Interface