When Identifying a Basemap (specifically ESRI Imagery) in ArcMap, you can see certain properties about it such as the collection date. I'm wondering how I can achieve the same effect from the code side. I've obtained the IMap object, Basemap ILayer from within, and I'm looping over the properties after doing an Identify (which is depressingly slow). I want to know how I can access the Field/Value dictionary associated with these properties, the COM object doesn't make it very obvious.
Solved! Go to Solution.
After some trial and error I've figured it out.
Rather than converting to an IIdentifyObj, I convert directly to an IMapServerIdentifyObject, and can access MapServerIdentifyResult.Properties from there. The whole process roughly looks like this...
After some trial and error I've figured it out.
Rather than converting to an IIdentifyObj, I convert directly to an IMapServerIdentifyObject, and can access MapServerIdentifyResult.Properties from there. The whole process roughly looks like this...
Neat solution, saving this for later.
Thanks Danielle.