LEADTOOLS Medical (Leadtools.Ccow assembly)

SetItemValues Method (IContextData)

Show in webframe





The participant coupon.
The context item names that are to be set by the context manager.
The context item values that are to be set by the context manager.
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
void SetItemValues( 
   int participantCoupon,
   object itemNames,
   object itemValues,
   int contextCoupon
)
'Declaration
 
Sub SetItemValues( _
   ByVal participantCoupon As Integer, _
   ByVal itemNames As Object, _
   ByVal itemValues As Object, _
   ByVal contextCoupon As Integer _
) 
'Usage
 
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)

            

            
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.
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.
Example
For an example refer to JoinCommonContext.
Requirements

Target Platforms

See Also

Reference

IContextData Interface
IContextData Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.