IDkmClrValueInspectionCallback.EvaluateToString Method

Definition

Execute the ToString override on an object represented by the given DkmClrValue. If the value is of type object or does not override ToString, this method will return null. This method requires function evaluation to be enabled. If function evaluation is disabled by the user or for any other reason, this method will return null. This method will also return null if the function evaluation fails for any reason.

public:
 System::String ^ EvaluateToString(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext);
public string EvaluateToString (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext);
abstract member EvaluateToString : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> string
Public Function EvaluateToString (clrValue As DkmClrValue, inspectionContext As DkmInspectionContext) As String

Parameters

clrValue
DkmClrValue

[In] A value resulting from a CLR inspection query. These values are used by a Result Formatter to generate DkmEvaluationResults.

inspectionContext
DkmInspectionContext

[In] The inspection context for this evaluation.

Returns

[Out,Optional] The result of calling ToString on the object represented by this DkmClrValue.

Applies to