Any way to unsubscribe ListCollection view from its source?

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

Any way to unsubscribe ListCollection view from its source?

Postby DavidDeutsch » Mon Aug 31, 2009 5:41 pm

When I create a ListCollectionView, it subscribes to the NotifyCollectionChangedEventHandler of its source collection. This sets up a reference of course. When I am done with the view, but NOT with the collection, is there any way to break this reference?
DavidDeutsch
 
Posts: 1
Joined: Mon Aug 31, 2009 5:38 pm

Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests