IAnchor::ShiftTo method (textstor.h)
The IAnchor::ShiftTo method shifts the current anchor to the same position as another anchor.
HRESULT ShiftTo( [in] IAnchor *paSite );
Anchor occupying a position that the current anchor will be moved to.
This method can return one of these values.
||The method was successful.|
||An IAnchor interface pointer to the paSite anchor could not be obtained, or memory is too low to safely complete the operation.|
||paSite is invalid.|
Implementing this method is usually more efficient than an equivalent IAnchor::Shift operation.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Redistributable||TSF 1.0 on Windows 2000 Professional|