WorkerFactoryTWorker, TModelGetItemKeyCore Method TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
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: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference