System::ReadOnlySpan::to_ReadOnlySpan metodo

ReadOnlySpan::to_ReadOnlySpan method

Converte un array in un ReadOnlySpan.

static ThisType System::ReadOnlySpan<T>::to_ReadOnlySpan(const typename BaseType::ArrayPtrT &array)
ParametroTipoDescrizione
arrayconst typename BaseType::ArrayPtrT&L’array da convertire.

ReturnValue

Uno span di sola lettura che rappresenta l’array.

Vedi anche