Click or drag to resize
GDFileRandomAccessStreamWriteAsync Method
Writes data asynchronously to a file.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public IAsyncOperationWithProgress<uint, uint> WriteAsync(
	IBuffer buffer
)

Parameters

buffer
Type: Windows.Storage.StreamsIBuffer
The buffer into which the asynchronous writer operation writes.

Return Value

Type: IAsyncOperationWithProgressUInt32, UInt32
When this method completes, it returns number of written bytes; -1 if an error occurred.

Implements

IOutputStreamWriteAsync(IBuffer)
See Also