DataReader.DetachBuffer DataReader.DetachBuffer DataReader.DetachBuffer DataReader.DetachBuffer DataReader.DetachBuffer Method

Definition

Detaches the buffer that is associated with the data reader. This is useful if you want to retain the buffer after you dispose the data reader.

public : IBuffer DetachBuffer()
IBuffer DetachBuffer() const;
public IBuffer DetachBuffer()
Public Function DetachBuffer() As IBuffer
var iBuffer = dataReader.detachBuffer();

Returns

The detached buffer.