result 表達式評估的結果值將會在這裡傳回。 metadata 這裡會傳回任何與表達式或結果相關聯的元數據。 傳回值 此方法會傳回 HRESULT,指出成功或失敗。 言論 程式代碼範例 C++ 複製 ComPtr<IDebugHost> spHost; /* get the host */ ComPtr<IDebugHostEvaluator2> spEval; if (SUCCEEDED(...
template<typename T> concept C2 = requires(T x) { // the expression *x must be valid // AND the type T::inner must be valid // AND the result of *x must be convertible to T::inner {*x} -> std::convertible_to<typename T::inner>; // the expression x + 1 must be valid ...
virtual XPathResultType get_ReturnType() When overridden in a derived class, gets the result type of the XPath expression. Detail::SmartPtrCounter * GetCounter() Gets reference counter data structure associated with the object. virtual int32_t GetHashCode() const Analog of C# Object.GetHashCode...
Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up {...
Expression evaluation may produce a result (e.g., evaluation of 2+2 produces the result 4) and may generate side-effects (e.g. evaluation of std::printf("%d",4) prints the character '4' on the standard output). 基本概念 分类
IDebugHostEvaluator2::AddRef 方法 IDebugHostEvaluator2::AssignTo 方法 IDebugHostEvaluator2::EvaluateExpression 方法 IDebugHostEvaluator2::EvaluateExtendedExpression 方法 IDebugHostEvaluator2::QueryInterface 方法 IDebugHostEvaluator2::Release 方法
HRESULT EvaluateExtendedExpression( IDebugHostContext *context, PCWSTR expression, IModelObject *bindingContext, _COM_Errorptr_ IModelObject **result, IKeyStore **metadata ); 参数 context 在其中执行表达式计算的主机上下文。 例如,如果存在由于指针取消引用而对目标的内存读取,则由此参数...