IDebugExpressionContext2::GetName
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Retrieves the name of the evaluation context.
Syntax
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 }"