This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescriptor Interface > IMapDescriptor.LayerOrder Property (ArcObjects .NET 10.5 SDK) |
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