SetTargetPosition method 
Move the Routing Target to another 
 position in the Folder Page or Inbox Page.  
Syntax
 
C++
HRESULT 
 SetTargetPosition( 
   IERURoutingTarget* pRoutingTarget 
   LONG NewIndex) 
Scripting languages
Object.SetTargetPosition 
   RoutingTarget as IERURoutingTarget, 
   NewIndex as Long |  
 
Parameters
 
pRoutingTarget 
The Routing Target to reposition.  
NewIndex 
The new index to give the Routing Target.  
Return value
 
C++
The return code.  | 
Scripting languages
None.  |  
 
Remarks
 
The index starts from 1. The Index is the new position for the routing 
 target being moved. When the Routing Target is moved, the remaining routing 
 targets are re-indexed in order to fill in the gap left by the moved Routing 
 Target.  
	If the Routing Target is 
 moved to a higher index, then all Routing Targets between the moved Routing 
 Target and the gap will have their indices decremented by one.   
	If the Routing Target is 
 moved to a lower index, then all Routing Targets between the moved Routing 
 Target and the gap will have their indices incremented by one.  
  | 
 Home 
 
Interface 
IERURoutingSource 
 
See also 
IERURoutingTarget  |