IDkmCustomVisualizer.SetValueAsString Method

Definition

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 SetValueAsString(Microsoft::VisualStudio::Debugger::Evaluation::DkmVisualizedExpression ^ visualizedExpression, System::String ^ value, int timeout, [Runtime::InteropServices::Out] System::String ^ % errorText);
public void SetValueAsString (Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression visualizedExpression, string value, int timeout, out string errorText);
public void SetValueAsString (Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression visualizedExpression, string value, int timeout, out string? errorText);
abstract member SetValueAsString : Microsoft.VisualStudio.Debugger.Evaluation.DkmVisualizedExpression * string * int * string -> unit
Public Sub SetValueAsString (visualizedExpression As DkmVisualizedExpression, 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.

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.

Applies to