IDkmCustomVisualizerCallback.SetValueAsStringCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Modifies the value of the given evaluation result (assumed to be non-read-only) to match the given string. This is used after the user edits a value in any of the evaluation windows.
public:
void SetValueAsStringCallback(Microsoft::VisualStudio::Debugger::Evaluation::DkmVisualizedExpression ^ visualizedExpression, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResult ^ defaultEvaluationResult, System::String ^ value, int timeout, [Runtime::InteropServices::Out] System::String ^ % errorText);
public void SetValueAsStringCallback (Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression visualizedExpression, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult defaultEvaluationResult, string value, int timeout, out string errorText);
public void SetValueAsStringCallback (Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression visualizedExpression, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult defaultEvaluationResult, string value, int timeout, out string? errorText);
abstract member SetValueAsStringCallback : Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult * string * int * string -> unit
Public Sub SetValueAsStringCallback (visualizedExpression As DkmVisualizedExpression, defaultEvaluationResult As DkmEvaluationResult, value As String, timeout As Integer, ByRef errorText As String)
Parameters
- visualizedExpression
- DkmVisualizedExpression
[In] Dispatcher object used for custom visualization through a concord EE addin.
- defaultEvaluationResult
- DkmEvaluationResult
[In] The evaluation result returned from the expression evaluator for this expression. The expression evaluator can only control evaluations it understands.
- value
- String
[In] Textual representation of value to assign to the evaluation result.
- timeout
- Int32
[In] If a function evaluation is needed to assign the value, specifies the timeout to use.
- errorText
- String
[Out,Optional] If the operation failed, this indicates the reason why. This value should be null if the operation succeeded. In native code, an S_OK return value is used when returning error text.