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 (類型) 。
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++ 概觀