共用方式為


IDebugHostContextControl::GetContextAlternator 方法 (dbgmodel.h)

它會擷取內容替代器,允許暫時的內容變更或切換。

語法

HRESULT GetContextAlternator(
  IDebugHostContextAlternator **contextAlternator
);

參數

contextAlternator

此參數指向 IDebugHostContextAlternator 指標,用來擷取內容替代器。 此參數是 Output 參數。

傳回值

傳回 HRESULT,指出方法的成功或失敗。

要求

要求 價值
標頭 dbgmodel.h

另請參閱

IDebugHostContextControl 介面