DkmClrValue.GetArrayElement(Int32[], DkmInspectionContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取数组元素。 仅当 DkmClrValue 表示数组值时,才可以使用此方法。
位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。
此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。
public:
Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ GetArrayElement(cli::array <int> ^ Index, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue GetArrayElement (int[] Index, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
member this.GetArrayElement : int[] * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue
Public Function GetArrayElement (Index As Integer(), InspectionContext As DkmInspectionContext) As DkmClrValue
参数
- Index
- Int32[]
中要获取的数组元素的索引。
- InspectionContext
- DkmInspectionContext
中此计算的检查上下文。
返回
弄元素值。