MoveRoutingTarget method

Moves a routing target to a different position on the Routing Source.

Syntax


C++
HRESULT MoveRoutingTarget (
   IERURoutingTarget** pRoutingTarget)
Scripting languages
Set RoutingTarget = Object.MoveRoutingTarget ()

Parameters


FromIndex

An index value, starting with 1, that specifies the position of the routing button to move.

ToIndex

An index value, starting with 1, that specifies the position to move the routing button to.

Return value


C++

The return code.

Scripting languages

None.

Remarks


When you move a routing target, all other routing buttons on the same routing source are automatically reindexed to fill in the gap left by the target you moved.

  • If you move a target closer to the end of a list, then the index value of all targets between the newly-positioned target and the gap left by the target's previous position decreases by one.

  • If you move a target closer to the beginning of a list, then the index value of all targets between the newly-positioned target and the gap left by the target's previous position increases by one.

Home

Interface

IERURoutingSource


See also

IERURoutingTarget