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
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho