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


IMaps2.MoveItem Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMaps2.MoveItem Method

Moves the map to the given index.

[Visual Basic .NET]
Public Sub MoveItem ( _
    ByVal pMap As IMap, _
    ByVal toIndex As Integer _
)
[C#]
public void MoveItem (
    IMap pMap,
    int toIndex
);
[C++]
HRESULT MoveItem(
  IMap* pMap,
  long toIndex
);
[C++]

Parameters pMap [in]
pMap is a parameter of type IMap* toIndex [in]
toIndex is a parameter of type long

Product Availability

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

See Also

IMaps2 Interface