The ReadonlyObservableCollection(Of T) Collection

As for the List(Of T) and also for the ObservableCollection(Of T), there is a read-only counterpart named ReadonlyObservableCollection(Of T) that works like the ReadonlyCollection(Of T) plus the implementation of the CollectionChanged event. The collection is also exposed by the System.Collections.ObjectModel namespace.

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.