LiveWatchEngineExtensionsCreateLiveVariable(ILiveWatchEngine, String, Boolean, LiveVariableFlags) Method
Creates a live variable object for a given global variable
Namespace: VisualGDBExtensibility.LiveWatchAssembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
public static ILiveVariable CreateLiveVariable(
this ILiveWatchEngine engine,
string name,
bool throwIfNotFound,
LiveVariableFlags flags = LiveVariableFlags.None
)
- engine ILiveWatchEngine
- The live watch engine to use
- name String
- Specifies the name of the global variable to use
- throwIfNotFound Boolean
- Specifies the behavior when the variable with the given name is not found. If true the method will throw an exception. If false, it will return null.
- flags LiveVariableFlags (Optional)
- Specifies live variable flags passed to CreateLiveVariable(UInt64, Int32, String, LiveVariableFlags)
ILiveVariableThe live variable created via
CreateLiveVariable(UInt64, Int32, String, LiveVariableFlags)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).