WorkerFactoryTWorker, TModelGetItemKeyCore Method

Spotfire 14.3 API Reference
Override this method to provide your item key. Must be overridden when a caching behavior is specified. This key normally maps to the properties you have to read from the WorkItem in DoWorkCore(TModel, TItem).

Namespace:  Spotfire.Dxp.Framework.Threading
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
protected virtual Object GetItemKeyCore(
	WorkItem workItem
)

Parameters

workItem
Type: Spotfire.Dxp.Framework.ThreadingWorkItem
The work item.

Return Value

Type: Object
The item key.
Remarks

Allowed return types are:
  • string
  • int
  • uint
  • short
  • ushort
  • byte
  • DateTime
  • TimeSpan
  • double
  • float
  • decimal
  • long
  • bool
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

Reference