Enables an application or mapping agent in a common context session to set the value of one or more common subject context items.
public void SetItemValues(
Sub SetItemValues( _
ByVal participantCoupon As Integer, _
ByVal itemNames As Object, _
ByVal itemValues As Object, _
ByVal contextCoupon As Integer _
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.
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.
For an example refer to JoinCommonContext.