IDebugExpressionContext2::GetName

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDebugExpressionContext2::GetName.

Retrieves the name of the evaluation context.

int GetName(   
   out string pbstrName  
);  

Parameters

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

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

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 }"  

IDebugExpressionContext2

Show: