I am looking to build off of the Query Features sample. Instead of drawing a polygon so select, I am looking to use the polygons inside a shape file. The issue I am having is I am not sure how to identify the contents of a shape file as a point, line, or polygon. I can identify the layer type with the following but not the shape types.
For Each item As MapItem In fold.ChildItems
If TypeOf item Is Layers Then
Any help is appreciated.