1

Anyone have sample code on the actual use of a QueryClass. I can read the help and figure out how to make one but there is no code demonstrating the usage of a QueryClass.

2
  • What exactly are you trying to do with a QueryClass? Assuming you're talking about SQL workspaces, once you have created your query class the most important thing you need to know is this: "From this point, the class can typically be consumed in the same way as an ITable or IFeatureClass reference from other data sources, keeping in mind that it is read-only." Note that depending on whether you have a geometry, your query class may or may not implement IFeatureClass. Commented Oct 4, 2011 at 17:05
  • If I define the QueryClass then do I have to actually implement ITable and/or IFeatureClass? If I don't implement one of those interfaces is the "class" still usable?
    – Chaz
    Commented Oct 4, 2011 at 17:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.