BulkObservableCollection<T>.AsReadOnly Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a read-only version of the collection.
public:
System::Collections::ObjectModel::ReadOnlyObservableCollection<T> ^ AsReadOnly();
public System.Collections.ObjectModel.ReadOnlyObservableCollection<T> AsReadOnly ();
member this.AsReadOnly : unit -> System.Collections.ObjectModel.ReadOnlyObservableCollection<'T>
Public Function AsReadOnly () As ReadOnlyObservableCollection(Of T)
Returns
A read-only version of the collection.