Dela via


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:
 virtual IBuffer ^ DetachBuffer() = DetachBuffer;
IBuffer DetachBuffer();
public IBuffer DetachBuffer();
function detachBuffer()
Public Function DetachBuffer () As IBuffer

Returns

The detached buffer.

Implements

Applies to