Share via


IDkmCustomVisualizer.GetChildren Method

Definition

Gets an enumeration context used to obtain the children of this evaluation result. This is used in all expression evaluation windows.

public:
 void GetChildren(Microsoft::VisualStudio::Debugger::Evaluation::DkmVisualizedExpression ^ visualizedExpression, int initialRequestSize, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::Evaluation::DkmChildVisualizedExpression ^> ^ % initialChildren, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultEnumContext ^ % enumContext);
public void GetChildren (Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression visualizedExpression, int initialRequestSize, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, out Microsoft.VisualStudio.Debugger.Evaluation.DkmChildVisualizedExpression[] initialChildren, out Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext enumContext);
public void GetChildren (Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression visualizedExpression, int initialRequestSize, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, out Microsoft.VisualStudio.Debugger.Evaluation.DkmChildVisualizedExpression[]? initialChildren, out Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext enumContext);
abstract member GetChildren : Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression * int * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * DkmChildVisualizedExpression[] * DkmEvaluationResultEnumContext -> unit
Public Sub GetChildren (visualizedExpression As DkmVisualizedExpression, initialRequestSize As Integer, inspectionContext As DkmInspectionContext, ByRef initialChildren As DkmChildVisualizedExpression(), ByRef enumContext As DkmEvaluationResultEnumContext)

Parameters

visualizedExpression
DkmVisualizedExpression

[In] Dispatcher object used for custom visualization through a concord EE addin.

initialRequestSize
Int32

[In] The initial number of children that the caller would like returned. This value can be zero if no children will be initially returned. This value may be larger than the number of children that this expression has, in which case all children should be returned. Very large or negative values should not be used as arrays can have extremely large sizes which would cause out-of-memory if all elements were requested.

inspectionContext
DkmInspectionContext

[In] The inspection context to use for computing the children. This may differ from the original inspection context with respect to settings, such as radix, evaluation flags, or timeout.

initialChildren
DkmChildVisualizedExpression[]

[Out] The initial children to return.

enumContext
DkmEvaluationResultEnumContext

[Out] Context object used to enumerate the children. This object must be closed by the caller of this API when enumeration is complete.

Applies to