## String::operator ReadOnlySpan< char16_t > method


Converts string to read only span.

```cpp
System::String::operator ReadOnlySpan<char16_t>() const
```


### ReturnValue

[ReadOnlySpan](../../readonlyspan/) which represents all its characters.

## See Also

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
