共用方式為


IDebugFunctionObject2

表示函式,並增強IDebugFunctionObject介面。

IDebugFunctionObject2 : IUnknown

實作器注意事項

運算式評估工具 (EE) 會實作這個介面來表示函式。

呼叫者的備忘稿

這個介面的方法會延緩的 IDebugFunctionObject 以下列方式:

  • IDebugEvaluate 方法會使用旗標。

  • 建立物件方法會使用旗標和逾時。

  • CreateStringObjectWithLength 方法會採用的長度。

方法

這個介面會實作下列方法:

方法

描述

IDebugFunctionObject2::CreateObject

建立使用建構函式評估的旗標設定和等候逾時值的物件。

IDebugFunctionObject2::CreateStringObjectWithLength

建立具有指定之長度的字串物件。

IDebugFunctionObject2::Evaluate

呼叫函式,並傳回產生的值做為物件。

需求

標頭: Ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

組件: Microsoft.VisualStudio.Debugger.Interop.dll