I am new to MapPoint. The MapPoint Help says that the ShowFindDialog can return a Pushpin object or a Location object. But I can't figure out how to determine which of the two object types was returned. I am using Visual C++ .Net 2003.

I also can't figure out how to "enumerate" through a dataset of pushpins to get pointers to each Pushpin object.