to_ReadOnlySpan()

ReadOnlySpan::to_ReadOnlySpan(const typename BaseType::ArrayPtrT&) method

Converts an array to a ReadOnlySpan.

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

Arguments

ParameterTypeDescription
arrayconst typename BaseType::ArrayPtrT&The array to convert.

Return Value

A read only span representing the array.

See Also