LineWrappingTextWriterWriteLineAsync(ReadOnlyMemoryChar, CancellationToken) Method
Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
public override Task WriteLineAsync(
	ReadOnlyMemory<char> buffer,
	CancellationToken cancellationToken = default
)
Public Overrides Function WriteLineAsync ( 
	buffer As ReadOnlyMemory(Of Char),
	Optional cancellationToken As CancellationToken = Nothing
) As Task
Dim instance As LineWrappingTextWriter
Dim buffer As ReadOnlyMemory(Of Char)
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.WriteLineAsync(buffer, 
	cancellationToken)
public:
virtual Task^ WriteLineAsync(
	ReadOnlyMemory<wchar_t> buffer, 
	CancellationToken cancellationToken = CancellationToken()
) override
- buffer  ReadOnlyMemoryChar
 - The character memory region to write to the text stream.
 - cancellationToken  CancellationToken  (Optional)
 - The token to monitor for cancellation requests. The default value is None.
 
TaskA task that represents the asynchronous write operation.