## Array::AsReadOnly method


Casts array to read only collection.

```cpp
static SharedPtr<Collections::ObjectModel::ReadOnlyCollection<T>> System::Array<T>::AsReadOnly(const SharedPtr<Array<T>> &array)
```

## See Also

* Typedef [SharedPtr](../../sharedptr/)
* Class [ReadOnlyCollection](../../../system.collections.objectmodel/readonlycollection/)
* Class [Array](../)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
