## List::AsReadOnly method


Erhält eine schreibgeschützte Referenz auf diese Sammlung.

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


### ReturnValue

Neu erstellte schreibgeschützte Wrapper um die aktuelle Liste.

## Siehe auch

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