LEADTOOLS Medical (Leadtools.Ccow assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetItemValues Method
See Also 
Leadtools.Ccow Namespace > IContextData Interface : GetItemValues Method



itemNames
The name of the context item values to get.
onlyChanges
Enables a participant to instruct the context manager to filter which items it returns no matter what names were specified. When the value of onlyChanges is true, then the items that are returned are limited to only the context subjects whose items were set by the most recently committed context change transaction, or by the transaction in progress, as indicated by the value of contextCoupon.
contextCoupon
The context coupon.
itemNames
The name of the context item values to get.
onlyChanges
Enables a participant to instruct the context manager to filter which items it returns no matter what names were specified. When the value of onlyChanges is true, then the items that are returned are limited to only the context subjects whose items were set by the most recently committed context change transaction, or by the transaction in progress, as indicated by the value of contextCoupon.
contextCoupon
The context coupon.
Enables a participant in a common context session to obtain the value of one or more common subject context items.

Syntax

Visual Basic (Declaration) 
Function GetItemValues( _
   ByVal itemNames As Object, _
   ByVal onlyChanges As Boolean, _
   ByVal contextCoupon As Integer _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As IContextData
Dim itemNames As Object
Dim onlyChanges As Boolean
Dim contextCoupon As Integer
Dim value As Object
 
value = instance.GetItemValues(itemNames, onlyChanges, contextCoupon)
C# 
object GetItemValues( 
   object itemNames,
   bool onlyChanges,
   int contextCoupon
)
C++/CLI 
Object^ GetItemValues( 
   Object^ itemNames,
   bool onlyChanges,
   int contextCoupon
) 

Parameters

itemNames
The name of the context item values to get.
onlyChanges
Enables a participant to instruct the context manager to filter which items it returns no matter what names were specified. When the value of onlyChanges is true, then the items that are returned are limited to only the context subjects whose items were set by the most recently committed context change transaction, or by the transaction in progress, as indicated by the value of contextCoupon.
contextCoupon
The context coupon.

Return Value

A string array containing the common subject context item values.

Example

For an example refer to JoinCommonContext.

Remarks

When the value of the input contextCoupon denotes the most recently committed transaction, the item values that are returned represent the state of the common context as it existed when the transaction was completed. When the value of the input contextCoupon denotes the transaction currently in progress, the item values that are returned represent the state of the common context as it has been established so far by the transaction

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Ccow requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features