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


IMapDescriptor.LayerOrder Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapDescriptor.LayerOrder Property

The layer order for the map. The VARIANT value is a SAFEARRAY of long integers that list the layerIDs in order. The first element is top layer in the map. Layers that are within groups are not listed in this array.

[Visual Basic .NET]
Public Property LayerOrder As Object
[C#]
public object LayerOrder {get; set;}
[C++]
HRESULT get_LayerOrder(
  VARIANT* layerIds
);
[C++]
HRESULT put_LayerOrder(
  VARIANT layerIds
);
[C++]

Parameters layerIds [out, retval] layerIds is a parameter of type VARIANT layerIds [in] layerIds is a parameter of type VARIANT

Product Availability

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

See Also

IMapDescriptor Interface