ICorDebugArrayValue::GetBaseIndicies 方法

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

Syntax

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

参数

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

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

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 1.0 起可用