Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Sets the value of the object from a consecutive series of bytes.

int SetValue(
   byte[] pValue, 
   uint   nSize


[in] An array of bytes representing the new value.


[in] The size of the value in bytes.

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

The values in the array are copied into this IDebugObject object, replacing any existing value. The size of the new value can be larger or smaller than the existing value. This IDebugObject cannot be a null reference.

© 2015 Microsoft