次の方法で共有


IDebugExpressionContext2::GetName

Retrieves the name of the evaluation context.

HRESULT GetName( 
   BSTR* pbstrName
);
int GetName( 
   out string pbstrName
);

Parameters

  • pbstrName
    [out] Returns the name of the evaluation context.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The name is the description of this evaluation context. It is typically something that can be parsed by an expression evaluator that refers to this exact evaluation context. For example, in C++ the name is as follows:

"{ function-name, source-file-name, module-file-name }"

See Also

Reference

IDebugExpressionContext2