获取此数组的每个维度中的元素数。
Syntax
HRESULT GetDimensions (
[in] ULONG32 cdim,
[out, size_is(cdim), length_is(cdim)]
ULONG32 dims[]
);
参数
cdim [in]此 ICorDebugArrayValue 对象的维度数。
此值也是数组的大小 dims ,因为它的大小等于对象的维度 ICorDebugArrayValue 数。
dims [out]整数数组,每个整数指定此 ICorDebugArrayValue 对象中维度中的元素数。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 自 .NET Framework 1.0 起可用