Move one or more library items to the specified folder.
If an item to move is a folder all contained items and folders are included.
All ancestors will also be updated with a new "Updated By Principal" and "Updated Timestamp".
If an error occurs all changes will be rolled back.
Namespace: Spotfire.Dxp.Framework.Library
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax
C#
public LibraryItemCollection Move( IEnumerable<LibraryItem> itemsToMove, LibraryItem folderToMoveItemsTo, LibraryManager.ConflictResolution conflictResolution )
Parameters
- itemsToMove
- Type: System.Collections.Generic.IEnumerable<LibraryItem>
The items to move. Use TryGetItem(String, LibraryItemType, LibraryItem,LibraryItemRetrievalOption[]), TryGetItem(Guid, LibraryItem,LibraryItemRetrievalOption[]) or Search(String,LibraryItemRetrievalOption[]) to retrieve the items. - folderToMoveItemsTo
- Type: Spotfire.Dxp.Framework.Library.LibraryItem
The folder to move the items to. - conflictResolution
- Type: Spotfire.Dxp.Framework.Library.LibraryManager.ConflictResolution
The conflict resolution to use when items with the same name exists in the destination folder. Note all items included in itemsToMove are removed after move, also the items that are not moved to the new folder.
Return Value
Type: LibraryItemCollectionThe items moved to the new folder.
Version Information
Supported in: 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also