LiveWatchEngineExtensionsReadMemory Method
Reads the value of a given pinned variable
Namespace: VisualGDBExtensibility.LiveWatchAssembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
public static LiveVariableValue ReadMemory(
this ILiveWatchEngine engine,
IPinnedVariable variable,
LiveVariableQueryMode mode = LiveVariableQueryMode.UseCacheIfAvailable
)
- engine ILiveWatchEngine
- The live watch engine that will be used for reading the memory.
- variable IPinnedVariable
- The pinned variable object corresponding to the variable that should be read.
- mode LiveVariableQueryMode (Optional)
- Specifies whether to use the cache when reading the value.
LiveVariableValueThe value of the given variable. Use the
IsValid property to check whether the read operation succeeded.In Visual Basic and C#, you can call this method as an instance method on any object of type
ILiveWatchEngine. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).