Compartir a través de


IDebugObject::GetValue

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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