次の方法で共有


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