GetContextMap

Gets the Map that contains all of the context entries.

Syntax

Function getContextMap() As Map 

Parameters

  • None

Results

Returns the Map that contains all of the context entries.

Example

Dim map As G1CLIENTLib.Map 
Dim requestMsg As New G1CLIENTLib.Message 
Dim sKey As String 
Dim sValue As String 

requestMsg.putContext 
 requestMsg.CONTEXT_ACCOUNT_ID, "admin" 
requestMsg.putContext 
 requestMsg.CONTEXT_ACCOUNT_PASSWORD, "admin" 
		
Set map = requestMsg.getContextMap 
		
map.Reset 
While (map.Next) 
 sKey = map.getKey 
 sValue = map.getValue 
Wend