WorkerFactory TWorker, TModel  GetItemKeyCore Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

protected virtual Object GetItemKeyCore(
	WorkItem workItem
)

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
See Also