System::Collections::Generic::List::AsReadOnly method

List::AsReadOnly method

このコレクションへの読み取り専用参照を取得します。

SharedPtr<System::Collections::ObjectModel::ReadOnlyCollection<T>> System::Collections::Generic::List<T>::AsReadOnly()

ReturnValue

現在のリストの新しく作成された読み取り専用ラッパー。

参照