System::Buffers::ReadOnlySequenceSegment::set_Memory method

ReadOnlySequenceSegment::set_Memory method

Sets the contiguous memory held by this segment.

void System::Buffers::ReadOnlySequenceSegment<T>::set_Memory(const ReadOnlyMemory<T> &value)
ParameterTypeDescription
valueconst ReadOnlyMemory<T>&The memory to assign to the segment.

See Also