IDebugHostType2 介面 (dbgmodel.h)
特定類型的 (IDebugHostSymbol 衍生) 介面。
指定的語言/原生類型是由 IDebugHostType2 或 IDebugHostType 介面所描述。 請注意,這些介面上的某些方法僅適用於特定類型的類型。
這個第 2 版的 介面支援所有具有相同簽章的先前方法,並包含其他提供新增功能的新方法。 新方法會列在該介面區段結尾的標頭中。
遺產
IDebugHostType2 繼承自 IDebugHostType。
方法
IDebugHostType2 介面具有這些方法。
IDebugHostType2::AddRef IDebugHostType2::AddRef 方法會遞增 物件上介面的參考計數。 |
IDebugHostType2::CreateArrayOf 在類型上呼叫 IDebugHostType2::CreateArrayOf 方法時,會取得新的 IDebugHostType,該類型是具有指定數位維度的類型數位。 |
IDebugHostType2::CreatePointerTo 在類型上呼叫 IDebugHostType2::CreatePointerTo 方法時,會取得類型指標的新 IDebugHostType。 |
IDebugHostType2::EnumerateChildren IDebugHostType2::EnumerateChildren 方法會取得列舉值,能夠列舉指定符號的所有子系。 |
IDebugHostType2::GetArrayDimensionality 在陣列的類型上呼叫 IDebugHostType2::GetArrayDimensionality 方法,會取得數位的維度。 |
IDebugHostType2::GetArrayDimensions 在陣列的類型上呼叫 IDebugHostType2::GetArrayDimensions 方法,會取得一組描述元,每個數位維度各一個。 |
IDebugHostType2::GetBaseType 在類型上呼叫 IDebugHostType2::GetBaseType 方法時,會取得基底類型。 基底類型是陣列指標或專案類型的目標類型。 |
IDebugHostType2::GetBitField 在位圖類型上呼叫 IDebugHostType2::GetBitField 方法時,會取得位圖結構的相關信息。 |
IDebugHostType2::GetContainingModule 在符號上呼叫 IDebugHostType2::GetContainingModule 方法時,如果符號具有包含的模組,則會取得包含符號的模組。 |
IDebugHostType2::GetContext 在符號上呼叫 IDebugHostType2::GetContext 方法時,會取得符號所在的主機內容。 |
IDebugHostType2::GetFunctionCallingConvention GetFunctionCallingConvention 方法會傳回函式的呼叫慣例。 |
IDebugHostType2::GetFunctionInstancePointerType 指出傳遞至函式的實例類型 (“this”) 指標是什麼。 |
IDebugHostType2::GetFunctionParameterTypeAt 在函式類型上呼叫 IDebugHostType2::GetFunctionParameterTypeAt 方法時,會在函式自變數清單中的指定索引處取得參數類型。 |
IDebugHostType2::GetFunctionParameterTypeCount 在函式的類型上呼叫 IDebugHostType2::GetFunctionParameterTypeCount 方法時,會取得函式採用的自變數數目。 |
IDebugHostType2::GetFunctionReturnType 在函式的類型上呼叫 IDebugHostType2::GetFunctionReturnType 方法時,會取得函式的傳回型別。 |
IDebugHostType2::GetFunctionVarArgsKind GetFunctionVarArgsKind 方法會傳回指定的函式是否使用變數自變數清單,如果是的話,則會傳回它所使用之變數自變數的樣式。 |
IDebugHostType2::GetGenericArgumentAt 在函式類型上呼叫時,IDebugHostType2::GetGenericArgumentAt 方法會取得函式自變數清單中的指定索引的泛型自變數。 |
IDebugHostType2::GetGenericArgumentCount 在類型上呼叫 IDebugHostType2::GetGenericArgumentCount 方法時,會取得型別的泛型自變數數目。 |
IDebugHostType2::GetHashCode 在類型上呼叫 IDebugHostType2::GetHashCode 方法時,會取得類型的 32 位哈希碼。 |
IDebugHostType2::GetIntrinsicType IDebugHostType2::GetIntrinsicType 方法在類型上呼叫時,會取得類型內建類型的相關信息。 |
IDebugHostType2::GetMemberType 在模組成員指標的類型上呼叫 IDebugHostType2::GetMemberType 方法,取得模組成員的類別。 |
IDebugHostType2::GetName 在符號上呼叫 IDebugHostType2::GetName 方法時,如果符號具有名稱,則會取得符號的名稱。 |
IDebugHostType2::GetPointerKind 在指標的類型上呼叫 IDebugHostType2::GetPointerKind 方法時,會取得 PointerKind 列舉所指定的指標類型。 |
IDebugHostType2::GetSize 在類型上呼叫 IDebugHostType2::GetSize 方法時,會取得類型的大小。 此方法相當於 C++ 中的 sizeof(type)。 |
IDebugHostType2::GetSymbolKind IDebugHostType2::GetSymbolKind 方法在符號上呼叫時,會取得符號種類,例如 field、base class 或 type。 |
IDebugHostType2::GetType 在符號上呼叫 IDebugHostType2::GetType 方法時,會取得符號的類型,例如 int *。 |
IDebugHostType2::GetTypedefBaseType GetTypedefBaseType 方法會傳回 typedef 的立即定義。 |
IDebugHostType2::GetTypedefFinalBaseType GetTypedefFinalBaseType 方法會傳回 typedef 是定義的最終類型。 |
IDebugHostType2::GetTypeKind 在類型上呼叫 IDebugHostType2::GetTypeKind 方法時,會取得 TypeKind 列舉所指定的類型類型。 |
IDebugHostType2::IsGeneric 在類型上呼叫 IDebugHostType2::IsGeneric 方法時,會取得類型為泛型或範本。 |
IDebugHostType2::IsTypedef IsTypedef 方法是唯一能夠查看類型是否為 typedef 的方法。 |
IDebugHostType2::QueryInterface IDebugHostType2::QueryInterface 方法會擷取對象上支援介面的指標。 |
IDebugHostType2::Release IDebugHostType2::Release 方法會遞減 物件上介面的參考計數。 |
要求
要求 | 價值 |
---|---|
標頭 | dbgmodel.h |