LineWrappingTextWriterWriteAsync(ReadOnlyMemoryChar, CancellationToken) Method
Asynchronously writes a character memory region to the text stream.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
public override Task WriteAsync(
	ReadOnlyMemory<char> buffer,
	CancellationToken cancellationToken = default
)
Public Overrides Function WriteAsync ( 
	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.WriteAsync(buffer, 
	cancellationToken)
public:
virtual Task^ WriteAsync(
	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.