OTX Reference  
OpenTestSystem.Otx.Core.Terms.MapGetKeyList Class Reference

Key list of a Map More...

Inheritance diagram for OpenTestSystem.Otx.Core.Terms.MapGetKeyList:
Inheritance graph

Public Attributes

MapTerm map
 Reference to a map. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Key list of a Map

MapGetKeyList is a term which returns the result as a list of the keys of a<c>Map.

Note
IMPORTANT - The order in which the keys of a Map are returned is not defined!
Syntax
ListTerm = MapGetKeyList(MapTerm);
Examples
// Local Declarations
Map<Integer, String> map = {{1:"text1"}, {2;"text2"}};
List<Integer> result;
//Returns result = {1, 2}
result = MapGetKeyList(map);
MapTerm map
Reference to a map.
Definition: Core.cs:7579

Member Data Documentation

◆ map

MapTerm OpenTestSystem.Otx.Core.Terms.MapGetKeyList.map

Reference to a map.