←Select platform

SetItemValues Method (IContextData)

Summary

Enables an application or mapping agent in a common context session to set the value of one or more common subject context items.

Syntax

C#
VB
C++
void SetItemValues(  
   int participantCoupon, 
   object itemNames, 
   object itemValues, 
   int contextCoupon 
) 
Sub SetItemValues( _ 
   ByVal participantCoupon As Integer, _ 
   ByVal itemNames As Object, _ 
   ByVal itemValues As Object, _ 
   ByVal contextCoupon As Integer _ 
) 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Ccow Assembly
Click or drag to resize