IDebugHostField2 interface (dbgmodel.h)
Version 2 of IDebugHostField, which is a specialization of IDebugHostSymbol, which represents a field of a class or struct.
This version 2 of the interface supports all of the previous methods with identical signatures and includes additional new methods that provide added functionality. The new methods are listed in the header at the end of the section for that interface.
Inheritance
The IDebugHostField2 interface inherits from the IDebugHostField interface.
Methods
The IDebugHostField2 interface has these methods.
IDebugHostField2::AddRef The AddRef method increments the reference count for an object. |
IDebugHostField2::EnumerateChildren The EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol. |
IDebugHostField2::GetContainingModule The GetContainingModule method, when called on a symbol, gets the module that contains the symbol if the symbol has a containing module. |
IDebugHostField2::GetContainingType The GetContainingType method returns the type of the containing parent (the type that contains this symbol). |
IDebugHostField2::GetContext The GetContext method, when called on a symbol, gets the host context in which the symbol is located. |
IDebugHostField2::GetLocation For fields which have an address regardless of the particular type instance (e.g. fields whose location kind indicates LocationStatic), the GetLocation method will return the abstract location (address) of the field. |
IDebugHostField2::GetLocationKind The GetLocationKind method, when called on a symbol, gets the kind of location the symbol is at according to the LocationKind enumeration. |
IDebugHostField2::GetName The GetName method, when called on a symbol, gets the name of the symbol if it has a name. |
IDebugHostField2::GetOffset For fields which have an offset, the GetOffset method will return the offset from the base address of the containing type to the data for the field itself. |
IDebugHostField2::GetSymbolKind The GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type. |
IDebugHostField2::GetType The GetType method, when called on a symbol, gets the type of symbol, such as int *. |
IDebugHostField2::GetValue For fields which have a constant value defined within the symbolic information, the GetValue method will return the constant value of the field. |
IDebugHostField2::QueryInterface The QueryInterface method queries for a specific interface on a field object. |
IDebugHostField2::Release The Release method releases a reference to the field object. |
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |