Sets the metadata of an existing library item.
Only the properties explicitly set in metadata object will be updated.
To keep old values of Description, Keywords or Properties, do not set those properties.
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 LibraryItem SetLibraryItemMetadata( LibraryItem itemToUpdate, LibraryItemMetadataSettings metadata )
Parameters
- itemToUpdate
- Type: Spotfire.Dxp.Framework.LibraryLibraryItem
The library item to update. Use TryGetItem(String, LibraryItemType, LibraryItem, LibraryItemRetrievalOption), TryGetItem(Guid, LibraryItem, LibraryItemRetrievalOption) or Search(String, LibraryItemRetrievalOption) to retrieve the item. - metadata
- Type: Spotfire.Dxp.Framework.LibraryLibraryItemMetadataSettings
The metadata to set on the library item.
Return Value
Type: LibraryItemThe updated library item.
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