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

Parameters

result
DkmEvaluationResult

[In] The formatted result of an evaluation, ready to be displayed in an expression evaluation window.

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