ICorDebugVariableSymbol 接口
检索变量的调试符号信息。
方法
方法 | 说明 |
---|---|
GetName 方法 | 获取变量名。 |
GetSize 方法 | 获取变量的大小(以字节为单位)。 |
GetSlotIndex 方法 | 获取本地变量的托管槽索引。 |
GetValue 方法 | 获取作为字节数组的变量的值。 |
SetValue 方法 | 将字节数组的值分配给变量。 |
备注
备注
此接口仅适用于 .NET Native。 如果在 .NET Native 外为 ICorDebug 方案实现此接口,则公共语言运行时将忽略此接口。
要求
平台:请参阅系统要求。
标头:CorDebug.idl、CorDebug.h
库:CorGuids.lib
.NET Framework 版本:4.6 及更高版本,仅限 .NET Native