ICorDebugArrayValue::GetBaseIndicies 方法

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

语法

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

参数

cdim
[in] 此 ICorDebugArrayValue 对象的维度数。 此值也是 indicies 数组的大小,因为其大小等于 ICorDebugArrayValue 对象的维度数。

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

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用