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


IMaps2.MoveItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMaps2 Interface > IMaps2.MoveItem Method
ArcGIS Developer Help

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