PyIStorage.RenameElement

RenameElement(OldName, NewName)

Renames the specified substorage or stream in this storage object.

Parameters

OldName : str

The name of the substorage or stream to be changed.

NewName : str

The new name for the specified sustorage or stream.