Sdílet prostřednictvím


DkmVisualizedExpression.GetChildren Method

Definition

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

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 void GetChildren(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 (int InitialRequestSize, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext, out Microsoft.VisualStudio.Debugger.Evaluation.DkmChildVisualizedExpression[] InitialChildren, out Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext EnumContext);
member this.GetChildren : int * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * DkmChildVisualizedExpression[] * DkmEvaluationResultEnumContext -> unit
Public Sub GetChildren (InitialRequestSize As Integer, InspectionContext As DkmInspectionContext, ByRef InitialChildren As DkmChildVisualizedExpression(), ByRef EnumContext As DkmEvaluationResultEnumContext)

Parameters

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