Condividi tramite


IDebugClassField

This interface represents a class as a type.

IDebugClassField : IDebugContainerField

Notes for Implementers

A symbol provider implements this interface on the same object that implements the IDebugContainerField interface. This interface is a specialization that represents a class type.

Notes for Callers

A number of interfaces have methods that can return this interface including IDebugSymbolProvider, IDebugMethodField, and IDebugCustomAttribute. Also, you can use QueryInterface to obtain this interface from the IDebugContainerField interface if the IDebugField::GetKind method returns the flag FIELD_TYPE_CLASS.

Methods in Vtable Order

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

Method

Description

IDebugClassField::EnumBaseClasses

Creates an enumerator for the base classes of this class.

IDebugClassField::DoesInterfaceExist

Determines if a specific interface is defined in the class.

IDebugClassField::EnumNestedClasses

Creates an enumerator for the nested classes of this class.

IDebugClassField::GetEnclosingClass

Gets the class that encloses this class.

IDebugClassField::EnumInterfacesImplemented

Creates an enumerator for the interfaces implemented by this class.

IDebugClassField::EnumConstructors

Creates an enumerator for the constructors of this class.

IDebugClassField::GetDefaultIndexer

Gets the name of the default indexer.

IDebugClassField::EnumNestedEnums

Creates an enumerator for the nested enumerators of this class.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugContainerField

Concepts

Symbol Provider Interfaces