SetContextMap

Overwrites the current context properties with the new context properties.

Syntax

Sub setContextMap(context As Map) 

Parameters

  • The new context map to replace the current context map

Results

None.

Example

Dim map As New G1CLIENTLib.Map 
Dim requestMsg As New G1UBCAPICOMLib.Message 

map.Insert requestMsg.CONTEXT_ACCOUNT_ID, "admin" 
map.Insert requestMsg.CONTEXT_ACOUNT_PASSWORD, "admin" 

requestMsg.setContextMap map