MoveElementTo(name, stgDest, newName, grfFlags)

Copies or moves a substorage or stream from this storage object to another storage object.


name : string

A string that contains the name of the element in this storage object to be moved or copied.

stgDest : PyIStorage

PyIStorage for the destination storage object.

newName : string

A string that contains the new name for the element in its new storage object.

grfFlags : int

Specifies whether the operation should be a move (STGMOVE_MOVE) or a copy (STGMOVE_COPY). See the STGMOVE enumeration.