IDebugContainerField

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 represents a symbol or type that is a container for other symbols or types.

Syntax

IDebugContainerField : IDebugField

Notes for Implementers

A symbol provider implements this interface on the same object that implements the IDebugField interface. This interface is also the base class for all interfaces that represent containers.

Notes for Callers

Many methods on many interfaces return this interface. Because this is a base class for all containers, more specialized interfaces can obtained from this interface by using QueryInterface. Such interfaces include IDebugArrayField, IDebugClassField, IDebugMethodField, and IDebugPropertyField.

Methods in Vtable Order

In addition to the methods on the IDebugField interface, this interface implements the following method:

Method Description
EnumFields Creates an enumerator for the fields of the container.

Remarks

Arrays (containers for variables), classes (containers for methods and variables) and methods (containers for parameters and local variables) are all examples of containers.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also