Does anybody know if it is possible to set the query filter in the Task Pane (mapwspace) window via .NET code? I would like to be able to automatically query out polygons based on an attribute value using an ArcSDE connection layer. I can do it manually by right clicking on the layer in the Task Pane and selecting "Query to Filter Data", then typing in the query, but I would like it to be done with .NET code.
Thanks,
-andy