Partilhar via


BulkObservableCollection<T>.AsReadOnly Method

Definition

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.

Applies to