IDebugExpressionContext2::GetName

Retrieves the name of the evaluation context.

Syntax

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