IDebugObject::GetValue

Gets the value of the object as a consecutive series of bytes.

Syntax

HRESULT GetValue( 
   BYTE* pValue,
   UINT  nSize
);
int GetValue(
   ref byte[] pValue,
   uint nSize
);

Parameters

pValue
[in, out] An array that is filled in with a consecutive series of bytes representing the value of the object.

nSize
[in] The maximum number of bytes to fetch.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Get the total number of value bytes that can be fetched by calling the GetSize method.

See also