Buffer.CreateCopyFromMemoryBuffer(IMemoryBuffer) Method

Definition

Creates a new buffer containing a copy of a specified buffer.

public:
 static Buffer ^ CreateCopyFromMemoryBuffer(IMemoryBuffer ^ input);
 static Buffer CreateCopyFromMemoryBuffer(IMemoryBuffer const& input);
public static Buffer CreateCopyFromMemoryBuffer(IMemoryBuffer input);
function createCopyFromMemoryBuffer(input)
Public Shared Function CreateCopyFromMemoryBuffer (input As IMemoryBuffer) As Buffer

Parameters

input
IMemoryBuffer

The buffer to be copied.

Returns

The newly created copy.

Applies to