IDebugControl2::GetNumberTextReplacements 方法 (dbgeng.h)

GetNumberTextReplacements 方法會傳回目前定義的使用者名稱和自動別名數目。

語法

HRESULT GetNumberTextReplacements(
  [out] PULONG NumRepl
);

參數

[out] NumRepl

接收使用者命名和自動別名的總數。

傳回值

這個方法也可能傳回錯誤值。 如需詳細資訊,請參閱 傳回值

傳回碼 描述
S_OK
此方法成功。

備註

如需 調試程式引擎所使用的別名概觀,請參閱 使用別名。 如需搭配調試程式引擎 API 使用別名的詳細資訊,請參閱 與引擎互動

規格需求

需求
目標平台 桌面
標頭 dbgeng.h (包含 Dbgeng.h)

另請參閱

GetTextReplacement

IDebugControl2

IDebugControl3

OutputTextReplacements

RemoveTextReplacements

SetTextReplacement