共用方式為


IDebugHostType 介面 (dbgmodel.h)

特定類型的 (IDebugHostSymbol 衍生) 介面。

指定的語言/原生類型是由 IDebugHostType2 或 IDebugHostType 介面所描述。 請注意,這些介面上的某些方法僅適用於特定類型的類型。

遺產

IDebugHostType 繼承自 IDebugHostSymbol

方法

IDebugHostType 介面具有這些方法。

 
IDebugHostType::AddRef

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

在類型上呼叫 IDebugHostType::CreateArrayOf 方法時,會取得新的 IDebugHostType,該類型是具有指定數位維度的類型數位。
IDebugHostType::CreatePointerTo

在類型上呼叫 IDebugHostType::CreatePointerTo 方法時,會取得類型指標的新 IDebugHostType。
IDebugHostType::EnumerateChildren

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

在陣列的類型上呼叫 IDebugHostType::GetArrayDimensionality 方法,會取得數位的維度。
IDebugHostType::GetArrayDimensions

在陣列的類型上呼叫 IDebugHostType::GetArrayDimensions 方法,會取得一組描述元,每個數位組維度各一個。
IDebugHostType::GetBaseType

在類型上呼叫時,IDebugHostType::GetBaseType 方法會取得基底類型。 基底類型是陣列指標或專案類型的目標類型。
IDebugHostType::GetBitField

在點陣圖類型上呼叫 IDebugHostType::GetBitField 方法時,會取得位圖結構的相關信息。
IDebugHostType::GetContainingModule

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

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

GetFunctionCallingConvention 方法會傳回函式的呼叫慣例。 這類會以 CallingConventionKind 列舉的成員的形式傳回。
IDebugHostType::GetFunctionParameterTypeAt

在函式類型上呼叫 IDebugHostType::GetFunctionParameterTypeAt 方法時,會在函式自變數清單中的指定索引處取得參數類型。
IDebugHostType::GetFunctionParameterTypeCount

IDebugHostType::GetFunctionParameterTypeCount 方法在函式的類型上呼叫時,會取得函式採用的自變數數目。
IDebugHostType::GetFunctionReturnType

在函式的類型上呼叫 IDebugHostType::GetFunctionReturnType 方法時,會取得函式的傳回型別。
IDebugHostType::GetGenericArgumentAt

在函式類型上呼叫時,IDebugHostType::GetGenericArgumentAt 方法會取得函式自變數清單中的指定索引處的泛型自變數。
IDebugHostType::GetGenericArgumentCount

在類型上呼叫 IDebugHostType::GetGenericArgumentCount 方法時,會取得型別的泛型自變數數目。
IDebugHostType::GetHashCode

在類型上呼叫 IDebugHostType::GetHashCode 方法時,會取得類型的 32 位哈希碼。
IDebugHostType::GetIntrinsicType

在類型上呼叫 IDebugHostType::GetIntrinsicType 方法時,會取得類型內建類型的相關信息。
IDebugHostType::GetMemberType

在模組成員指標的型別上呼叫 IDebugHostType::GetMemberType 方法時,會取得模組成員的類別。
IDebugHostType::GetName

如果符號具有名稱,則傳回符號的名稱。 如果符號沒有名稱,則會傳回錯誤。
IDebugHostType::GetPointerKind

在指標的類型上呼叫 IDebugHostType::GetPointerKind 方法時,會取得 PointerKind 列舉所指定的指標類型。
IDebugHostType::GetSize

在類型上呼叫 IDebugHostType::GetSize 方法時,會取得類型的大小。 此方法相當於 C++ 中的 sizeof(type)。
IDebugHostType::GetSymbolKind

在符號上呼叫 IDebugHostType::GetSymbolKind 方法時,會取得符號種類,例如字段、基類或類型。
IDebugHostType::GetType

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

在類型上呼叫 IDebugHostType::GetTypeKind 方法時,會取得 TypeKind 列舉所指定的類型類型。
IDebugHostType::IsGeneric

在類型上呼叫 IDebugHostType::IsGeneric 方法時,會取得類型為泛型或範本。
IDebugHostType::QueryInterface

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

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

要求

要求 價值
標頭 dbgmodel.h

另請參閱

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