共用方式為


IDebugHostPublic 介面 (dbgmodel.h)

一個 (IDebugHostSymbol 衍生) 介面到公用符號 (僅限位址/名稱)。

表示 PDB 之公用數據表內的符號。 這沒有與其相關聯的類型資訊。 它是名稱和位址。

遺產

IDebugHostPublic 繼承自 IDebugHostSymbol

方法

IDebugHostPublic 介面具有這些方法。

 
IDebugHostPublic::AddRef

IDebugHostPublic::AddRef 方法會遞增 物件上介面的參考計數。
IDebugHostPublic::EnumerateChildren

IDebugHostPublic::EnumerateChildren 方法會取得列舉值,能夠列舉指定符號的所有子系。
IDebugHostPublic::GetContainingModule

在符號上呼叫 IDebugHostPublic::GetContainingModule 方法時,如果符號具有包含的模組,則取得包含符號的模組。
IDebugHostPublic::GetContext

在符號上呼叫 IDebugHostPublic::GetContext 方法時,會取得符號所在的主機內容。
IDebugHostPublic::GetLocation

在具有靜態位置的符號上呼叫 IDebugHostPublic::GetLocation 方法時,會取得符號的抽象位置(位址)。
IDebugHostPublic::GetLocationKind

在符號上呼叫 IDebugHostPublic::GetLocationKind 方法時,會根據 LocationKind 列舉取得符號所在位置的類型。
IDebugHostPublic::GetName

在符號上呼叫 IDebugHostPublic::GetName 方法時,如果符號具有名稱,則會取得符號的名稱。
IDebugHostPublic::GetSymbolKind

在符號上呼叫 IDebugHostPublic::GetSymbolKind 方法時,會取得符號種類,例如 field、base class 或 type。
IDebugHostPublic::GetType

在符號上呼叫 IDebugHostPublic::GetType 方法時,會取得符號的類型,例如 int *。
IDebugHostPublic::QueryInterface

IDebugHostPublic::QueryInterface 方法會擷取對象上支援介面的指標。
IDebugHostPublic::Release

IDebugHostPublic::Release 方法會遞減 物件上介面的參考計數。

言論

公用符號代表符號檔內公用數據表中的專案。 實際上,它們是導出位址。 沒有與公用符號相關聯的類型資訊 -- 只有位址。 除非呼叫端明確要求公用符號,否則偵錯主機偏好傳回每個查詢的私人符號。 公用符號是由 IDebugHostPublic 介面表示。

要求

要求 價值
標頭 dbgmodel.h

另請參閱

調試程序數據模型C++概觀