IRelationshipCol::Move

See Also

This method moves a relationship from one point in the collection sequence to another point.

HRESULT Move(
long iIndexFrom,
long iIndexTo
);

Parameters

iIndexFrom

[in]
The index of the relationship to be moved in the collection sequence.

iIndexTo

[in]
The index of the sequence location to which the relationship is to be moved.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.

Remarks

This method can only be used for collections that are sequenced.

The origin object version must be unfrozen.