IDebugClassField
Note
This article applies to Visual Studio 2015. 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 class as a type.
Syntax
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 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 |
---|---|
EnumBaseClasses | Creates an enumerator for the base classes of this class. |
DoesInterfaceExist | Determines if a specific interface is defined in the class. |
EnumNestedClasses | Creates an enumerator for the nested classes of this class. |
GetEnclosingClass | Gets the class that encloses this class. |
EnumInterfacesImplemented | Creates an enumerator for the interfaces implemented by this class. |
EnumConstructors | Creates an enumerator for the constructors of this class. |
GetDefaultIndexer | Gets the name of the default indexer. |
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