For Feature Class in a GDB, I queried in Oracle SQL Developer:select * from RailLRSRoutes where RouteName = 'A1'and got 12 records returned. Got the same results using Definition Query in ArcMap.In the piece of code below: IQueryFilter queryFilter = new QueryFilterClass(); queryFilter.WhereClause = "RouteName = 'A1' "; IDataset dataset = (IDataset)fc; ISelectionSet pSelectionSet = fc.Select(queryFilter, esriSelectionType.esriSelectionTypeHybrid, esriSelectionOption.esriSelectionOptionOnlyOne, dataset.Workspace);the pSelectionSet.Count = 1 rather than multiple. What's wrong with my code here? Thanks.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.