ICorDebugArrayValue::GetBaseIndicies 方法

获取数组中每个维度的基本索引。

HRESULT GetBaseIndicies (
    [in] ULONG32          cdim,
    [out, size_is(cdim), length_is(cdim)] 
        ULONG32           indicies[]
);

参数

  • cdim
    [in] 此 ICorDebugArrayValue 对象的维数。 由于 indicies 数组的大小与 ICorDebugArrayValue 对象的维数相等,因此此值也是该数组的大小。

  • indicies
    [out] 一个由整数组成的数组,其中每个整数都是此 ICorDebugArrayValue 对象维的基本索引(即起始索引)。

要求

**平台:**请参见 .NET Framework 系统要求

头文件: CorDebug.idl、CorDebug.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebugArrayValue 接口