Hi all,
Can any body explain what is map?? what is the use of map?in detail.
Hi all,
Can any body explain what is map?? what is the use of map?in detail.
The word can mean many things - a collection class, a table map, a map in SSRS report and so on. You’ll have to elaborate your question, if you want to ever get any answer. “In detail”, as you said.
Table map
A map is somewhat like an array list in .NET. It’s a structured list where you can add variable values with a key for reference.
Example:
str value;
Map myMap = new Map(Types::Integer, Types::String); //first column key, second value.
myMap.insert(1,‘abc’);
value = myMap.lookup(1);
you can also loop through the elements with an enumerator.
Thank you…wat is the use of lookup(1)??