IDebugArrayField::GetElementType

获取数组中的元素类型。

语法

int GetElementType(
   out IDebugField ppType
);

参数

ppType
[out]返回描述 元素类型的 IDebugField 对象。

返回值

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

备注

IDebugArrayField 对象假定数组的所有元素都是相同的类型。

另请参阅