System::ReadOnlySpan::to_ReadOnlySpan 方法

ReadOnlySpan::to_ReadOnlySpan method

将数组转换为 ReadOnlySpan

static ThisType System::ReadOnlySpan<T>::to_ReadOnlySpan(const typename BaseType::ArrayPtrT &array)
参数类型描述
数组const typename BaseType::ArrayPtrT&要转换的数组。

ReturnValue

表示该数组的只读 span。

另见