AsReadOnly()

List::AsReadOnly() method

Gets read-only reference to this collection.

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

Return Value

Newly created read-only wrapper around current list.

See Also