LiveWatchEngineExtensionsCreateLiveVariable(ILiveWatchEngine, IPinnedVariable, LiveVariableFlags) Method

Creates a live variable for a specified pinned variable and flags.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
public static ILiveVariable CreateLiveVariable(
	this ILiveWatchEngine engine,
	IPinnedVariable pinnedVariable,
	LiveVariableFlags flags = LiveVariableFlags.None
)

Parameters

engine  ILiveWatchEngine
The live watch engine to use
pinnedVariable  IPinnedVariable
The pinned variable previously returned by LookupVariable(String, Boolean) or CreateTypedVariable(UInt64, IPinnedVariableType)
flags  LiveVariableFlags  (Optional)
Specifies live variable flags passed to CreateLiveVariable(UInt64, Int32, String, LiveVariableFlags)

Return Value

ILiveVariable
The live variable created via CreateLiveVariable(UInt64, Int32, String, LiveVariableFlags)

Usage Note

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).

See Also