IDebugArrayObject2:: GetBaseIndices

检索基索引 (下限) 生成的每个索引的维数该数组中的。

HRESULT GetBaseIndices (
   DWORD  dwRank,
   DWORD* dwIndices
);
int GetBaseIndices (
   uint       dwRank,
   out uint[] dwIndices
);

参数

  • dwRank
    [in] 维度 (级别) 数数组。

  • dwIndices
    [out] 基索引 () 的数组下限。

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

例如,此函数将返回 “5 " 下面的 c# 代码创建的数组:

int[] lengths = { 12 };
int[] lowerbounds = { 5 };
Array.CreateInstance(typeof(int), lengths, lowerbounds);

请参见

参考

IDebugArrayObject2