WorkerFactoryTWorker, TModelGetItemKeyCore Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference