共用方式為


IDebugControl2::GetNumberTextReplacements 方法 (dbgeng.h)

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

語法

HRESULT GetNumberTextReplacements(
  [out] PULONG NumRepl
);

參數

[out] NumRepl

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

傳回值

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

傳回碼 描述
S_OK
方法成功。

言論

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

要求

要求 價值
目標平臺 桌面
標頭 dbgeng.h (include Dbgeng.h)

另請參閱

GetTextReplacement

IDebugControl2

IDebugControl3

OutputTextReplacements

RemoveTextReplacements

SetTextReplacement