Compartir a través de


IDebugArrayField

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface describes an array symbol or type.

Syntax

IDebugArrayField : IDebugContainerField

Notes for Implementers

The symbol provider implements this interface on the same object that implements the IDebugContainerField interface. This interface is a specialization that represents array objects.

Notes for Callers

Use QueryInterface to obtain this interface from the IDebugContainerField interface if GetKind returns the flag FIELD_TYPE_ARRAY.

Methods in Vtable Order

In addition to the methods on the IDebugField and IDebugContainerField interfaces, this interface implements the following:

Method Description
GetNumberOfElements Gets the number of elements in the array.
GetElementType Gets the type of element in the array.
GetRank Gets the rank of the array.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also