## List::AsReadOnly method


Haalt een alleen-lezen referentie naar deze collectie op.

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


### ReturnValue

Nieuw aangemaakte alleen‑lezen wrapper rond de huidige lijst.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [ReadOnlyCollection](../../../system.collections.objectmodel/readonlycollection/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
