## Memory::operator ReadOnlyMemory< T > method


Implicitly converts [Memory](../) to [ReadOnlyMemory](../../readonlymemory/).

```cpp
System::Memory<T>::operator ReadOnlyMemory<T>() const
```


### ReturnValue

A [ReadOnlyMemory](../../readonlymemory/) object that represents the same memory segment.

## See Also

* Class [Memory](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
