C# code to  Display only those set of points on arcmap that lies inside the current t

Discussion created by cynthia@sinha on Dec 12, 2013
Hi ,
I have to develop one custom tool that in C# .net while clicking on it in arcmap, it will display only those points which are lying inside the lat,long of current extent.i am new to arcobject ..kindly help

In input i have point feature class that contain lat,long (x,y) .i am explaining ,what i have done so far..
I have calculated the extent by penvelope=activeview.extent

I hav open the point feature class and done spatialquery on it

Now i want to dispay those point on arcmap whose coordinates lies inside the envelope.