## List::AsReadOnly method


Obtiene una referencia de solo lectura a esta colección.

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


### ReturnValue

Envoltorio de solo lectura recién creado alrededor de la lista actual.

## Ver también

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