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: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public LibraryItemCollection Move( IEnumerable<LibraryItem> itemsToMove, LibraryItem folderToMoveItemsTo, LibraryManagerConflictResolution conflictResolution )
Parameters
- itemsToMove
- Type: System.Collections.GenericIEnumerableLibraryItem
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.LibraryLibraryItem
The folder to move the items to. - conflictResolution
- Type: Spotfire.Dxp.Framework.LibraryLibraryManagerConflictResolution
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.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also