ICorDebugVariableSymbol::SetValue Method
Assigns the value of a byte array to a variable.
Syntax
HRESULT SetValue(
[in] ULONG32 offset,
[in] DWORD threadID,
[in] ULONG32 cbContext,
[in, size_is(cbContext)] BYTE context[],
[in] ULONG32 cbValue,
[in, size_is(cbValue)] BYTE pValue[]
);
Parameters
offset
[in] The starting offset in the variable at which to set the value. This parameter is used when writing to member fields in an object.
threadID
[in] The thread identifier of the thread whose context must be updated to reflect the new value.
cbContext
[in] The size in bytes of the thread context.
context
[in] The thread context used to write the value.
cbValue
[in] The size in bytes of the pValue
buffer.
pValue
[in] The buffer that contains the value to set.
Remarks
Note
This method is available with .NET Native only.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6, .NET Native only
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for