IRelationshipCol::Move

Meta Data Services Programming

Meta Data Services Programming

IRelationshipCol::Move

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

HRESULT Move(
    long
   iIndexFrom,
    long
   iIndexTo
);

Parts

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 be used only for collections that are sequenced.

The origin object version must be unfrozen.

See Also

IRelationshipCol Interface