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



participantCoupon
The participant coupon.
itemNames
The context item names that are to be set by the context manager.
itemValues
The context item values that are to be set by the context manager.
contextCoupon
The context coupon.
participantCoupon
The participant coupon.
itemNames
The context item names that are to be set by the context manager.
itemValues
The context item values that are to be set by the context manager.
contextCoupon
The context coupon.
Enables an application or mapping agent in a common context session to set the value of one or more common subject context items.

Syntax

Visual Basic (Declaration) 
Sub SetItemValues( _
   ByVal participantCoupon As Integer, _
   ByVal itemNames As Object, _
   ByVal itemValues As Object, _
   ByVal contextCoupon As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As IContextData
Dim participantCoupon As Integer
Dim itemNames As Object
Dim itemValues As Object
Dim contextCoupon As Integer
 
instance.SetItemValues(participantCoupon, itemNames, itemValues, contextCoupon)
C# 
void SetItemValues( 
   int participantCoupon,
   object itemNames,
   object itemValues,
   int contextCoupon
)
C++/CLI 
void SetItemValues( 
   int participantCoupon,
   Object^ itemNames,
   Object^ itemValues,
   int contextCoupon
) 

Parameters

participantCoupon
The participant coupon.
itemNames
The context item names that are to be set by the context manager.
itemValues
The context item values that are to be set by the context manager.
contextCoupon
The context coupon.

Example

For an example refer to JoinCommonContext.

Remarks

If an item named in itemNames is not currently an common subject context item in the context, it will be added. The data type for a newly added item is the same as the data type of the element in itemValues that contains the item’s value. This method can only be performed within the scope of a context change transaction. The value of the input contextCoupon must denote the current 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