LiveWatchEngineExtensionsLookupChildRecursively Method
Returns a pinned variable object for a field in a structure, supporting nested structures if needed.
Namespace: VisualGDBExtensibility.LiveWatchAssembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
public static IPinnedVariable LookupChildRecursively(
this IPinnedVariable variable,
string subexpression,
bool throwIfNotFound = false
)
- variable IPinnedVariable
- The initial variable representing a structure
- subexpression String
- Either the name of a single field (e.g. size) or a dot-separated expression for nested structures (e.g. size.width)
- throwIfNotFound Boolean (Optional)
- Specifies the behavior when the child with the given name is not found. If true the method will throw an exception. If false, it will return null.
IPinnedVariableThe pinned variable object corresponding to the given subexpression.In Visual Basic and C#, you can call this method as an instance method on any object of type
IPinnedVariable. 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).