此接口描述数组符号或类型。
语法
IDebugArrayField : IDebugContainerField
实现者须知
符号提供程序在实现 IDebugContainerField 接口的同一对象上实现此接口。 此接口是表示数组对象的专用化。
对调用者的说明
如果 GetKind 返回标志FIELD_TYPE_ARRAY,请使用 QueryInterface 从 IDebugContainerField 接口获取此接口。
Vtable 顺序中的方法
除了 IDebugField 和 IDebugContainerField 接口上的方法外,此接口还实现以下内容:
| 方法 | 说明 | 
|---|---|
| GetNumberOfElements | 获取数组中的元素数。 | 
| GetElementType | 获取数组中的元素类型。 | 
| GetRank | 获取数组的排名。 | 
要求
标头:sh.h
命名空间:Microsoft.VisualStudio.Debugger.Interop
程序集:Microsoft.VisualStudio.Debugger.Interop.dll