Hide individual features in ArcMap featurelayer

Discussion created by olamr on Oct 10, 2011
Latest reply on Oct 11, 2011 by jamesfreddyc
Hi all,
I am developing a toolbar/extension for ArcMap.

I want to make certain features invisible in the map, so I define featurelayer symbology based on values in one field. When setting the value outside the range, the feature is hidden. So far so good.

But the user can still select the same feature using ArcMaps select tool. Can this be preventet in some way? Are there other methods for controlling feature visibility?
(Note: I do NOT want to delete the content of the geometry column, because it must be possible to "undelete" the feature later.)

Any suggestions ?