Skip to main content
DataWriter.DetachBuffer | detachBuffer method

Applies to Windows and Windows Phone

Detaches the buffer that is associated with the data writer.

Syntax


var iBuffer = dataWriter.detachBuffer();

public IBuffer DetachBuffer()

Public Function DetachBuffer() As IBuffer

public:
IBuffer^ DetachBuffer()

Parameters

This method has no parameters.

Return value

Type: IBuffer

The detached buffer.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

DataWriter