I am looking for the code behind the Identify Tool in Arc Map. The particular reason is the fact that the tool can access any type of layer's fields in TOC (Table of content) such as map services, WMS layers.
For my case, instead of displaying all the data, I just want to retrieve one value.