## ReadOnlySpan::to_ReadOnlySpan method


将数组转换为 [ReadOnlySpan](../)。

```cpp
static ThisType System::ReadOnlySpan<T>::to_ReadOnlySpan(const typename BaseType::ArrayPtrT &array)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| array | const typename BaseType::ArrayPtrT\& | 要转换的数组。 |

### ReturnValue

表示数组的只读跨度。

## 另见

* Class [ReadOnlySpan](../)
* Class [ReadOnlySpan](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
