IDebugHostData 介面 (dbgmodel.h)
數據介面的 (IDebugHostSymbol 衍生的) 介面。
代表模組內的數據(這是在 結構或類別內,它會是 IDebugHostField)。
遺產
IDebugHostData 繼承自 IDebugHostSymbol。
方法
IDebugHostData 介面具有這些方法。
IDebugHostData::AddRef IDebugHostData::AddRef 方法會遞增 物件上介面的參考計數。 |
IDebugHostData::EnumerateChildren IDebugHostData::EnumerateChildren 方法會取得列舉值,能夠列舉指定符號的所有子系。 |
IDebugHostData::GetContainingModule 在符號上呼叫 IDebugHostData::GetContainingModule 方法時,如果符號具有包含的模組,則會取得包含符號的模組。 |
IDebugHostData::GetContext 在符號上呼叫 IDebugHostData::GetContext 方法時,會取得符號所在的主機內容。 |
IDebugHostData::GetLocation 在具有靜態位置的符號上呼叫 IDebugHostData::GetLocation 方法時,會取得符號的抽象位置(位址)。 |
IDebugHostData::GetLocationKind 在符號上呼叫 IDebugHostData::GetLocationKind 方法時,會根據 LocationKind 列舉取得符號所在位置的類型。 |
IDebugHostData::GetName 在符號上呼叫 IDebugHostData::GetName 方法時,如果符號具有名稱,則會取得符號的名稱。 |
IDebugHostData::GetSymbolKind 在符號上呼叫 IDebugHostData::GetSymbolKind 方法時,會取得符號的類型,例如 field、base class 或 type。 |
IDebugHostData::GetType 如果符號具有類型,則傳回符號的類型(即 “int *”)。 如果符號沒有類型,則會傳回錯誤。 |
IDebugHostData::GetValue 傳回 VARIANT 數據結構中常數的值。 |
IDebugHostData::QueryInterface IDebugHostData::QueryInterface 方法會擷取對象上支援介面的指標。 |
IDebugHostData::Release IDebugHostData::Release 方法會遞減 對象上介面的參考計數。 |
言論
模組中不是另一個類型成員的數據是由IDebugHostData介面表示。
要求
要求 | 價值 |
---|---|
標頭 | dbgmodel.h |