ICorDebugArrayValue::GetDimensions 方法
获取此数组每个维度中的元素数。
语法
HRESULT GetDimensions (
[in] ULONG32 cdim,
[out, size_is(cdim), length_is(cdim)]
ULONG32 dims[]
);
参数
cdim
[in] 此 ICorDebugArrayValue 对象的维度数。
此值也是 dims
数组的大小,因为其大小等于 ICorDebugArrayValue
对象的维度数。
dims
[out] 整数数组,其中每个整数指定此 ICorDebugArrayValue
对象中一个维度内的元素数。
要求
平台:请参阅系统要求。
标头:CorDebug.idl、CorDebug.h
库:CorGuids.lib
.NET Framework 版本:自 1.0 起可用
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈