WorkerFactoryTWorker, TModelGetItemKeyCore Method TIBCO Spotfire 7.9 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: 30.0.10915.3380 (30.0.10915.3380)
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.9, 7.8, 7.7, 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference