' Create the query filter using user input. Dim pQueryFilter As IQueryFilter Dim pFeatureSelection As IFeatureSelection pQueryFilter = New QueryFilter pQueryFilter.WhereClause = "SEC = '" & sSEC & "'" & " AND TWP = '" & sTWP & "'" & " AND RGE = '" & sRGE & "'" & " AND MER = '" & sMER & "'" pActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeoSelection, Nothing, Nothing) ' Perform the selection using the user input. pFeatureSelection.SelectFeatures(pQueryFilter, esriSelectionResultEnum.esriSelectionResultNew, False)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.