Udostępnij za pośrednictwem


DkmVisualizedExpression.GetItemsCallback Method

Definition

This method allows a visualizer addin use the expression evaluator for expansion using the passed enumeration context. This is used to obtain local variables of a stack frame or child members from an evaluation result.

public:
 void GetItemsCallback(Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultEnumContext ^ EnumContext, int StartIndex, int Count, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResult ^> ^ % Items);
public void GetItemsCallback (Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext EnumContext, int StartIndex, int Count, out Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult[] Items);
member this.GetItemsCallback : Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext * int * int * DkmEvaluationResult[] -> unit
Public Sub GetItemsCallback (EnumContext As DkmEvaluationResultEnumContext, StartIndex As Integer, Count As Integer, ByRef Items As DkmEvaluationResult())

Parameters

EnumContext
DkmEvaluationResultEnumContext

[In] Context object used to enumerate the children.

StartIndex
Int32

[In] The zero-based index of the first item to obtain.

Count
Int32

[In] The number of items to try and return. This value may be larger than the total number of remaining items, in which case all remaining items 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.

Items
DkmEvaluationResult[]

[Out] The DkmEvaluationResult items to return. Each item must be closed by the caller when the caller is done.

Applies to