IXCLRDataValue::GetBytes Method
Copy between an object and a buffer.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug
and ICorProfiler
APIs when possible.
Syntax
HRESULT GetBytes(
[in] ULONG32 bufLen,
[out] ULONG32 *dataSize,
[out, size_is(bufLen)] BYTE buffer[]
);
Parameters
bufLen
[in] The length in bytes of the buffer buffer
.
dataSize
[out] The number of bytes of data written to the buffer buffer
.
buffer
[out] The data bytes of the object.
Remarks
The provided method is part of the IXCLRDataValue
interface and corresponds to the 7th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7