次の方法で共有


IDebugContainerField

This interface represents a symbol or type that is a container for other symbols or types.

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

IDebugContainerField::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

Reference

IDebugField

Concepts

Symbol Provider Interfaces