共用方式為


IDebugHostField2::GetContainingType 方法 (dbgmodel.h)

GetContainingType 方法會傳回包含父代的類型(包含這個符號的類型)。

語法

HRESULT GetContainingType(
  IDebugHostType3 **containingParentType
);

參數

containingParentType

指標變數的指標,這個變數會接收包含父系型別之 IDebugHostType3 介面。

傳回值

如果方法成功,則會傳回S_OK。 否則,它會傳回 HRESULT 錯誤碼。

要求

要求 價值
標頭 dbgmodel.h

另請參閱

IDebugHostField2 介面