Share via


IDkmLanguageExpressionEvaluator.GetItems Method

Definition

Obtain DkmEvaluationResult items from this enumeration context. This is used to obtain local variables of a stack frame or child members from an evaluation result.

public:
 void GetItems(Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultEnumContext ^ enumContext, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, int startIndex, int count, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationEnumAsyncResult> ^ completionRoutine);
public void GetItems (Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext enumContext, Microsoft.VisualStudio.Debugger.DkmWorkList workList, int startIndex, int count, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationEnumAsyncResult> completionRoutine);
abstract member GetItems : Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultEnumContext * Microsoft.VisualStudio.Debugger.DkmWorkList * int * int * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationEnumAsyncResult> -> unit
Public Sub GetItems (enumContext As DkmEvaluationResultEnumContext, workList As DkmWorkList, startIndex As Integer, count As Integer, completionRoutine As DkmCompletionRoutine(Of DkmEvaluationEnumAsyncResult))

Parameters

enumContext
DkmEvaluationResultEnumContext

[In] Context object used to enumerate child members of an evaluation result, or to enumerate local variables from a stack frame. This is logically similar to an enumerator, except that access to elements is index-based rather than sequential.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

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.

completionRoutine
DkmCompletionRoutine<DkmEvaluationEnumAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to