DkmVisualizedExpression.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::DkmEvaluationResult ^ DefaultEvaluationResult, System::String ^ Value, int Timeout, [Runtime::InteropServices::Out] System::String ^ % ErrorText);
public void SetValueAsStringCallback (Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult DefaultEvaluationResult, string Value, int Timeout, out string ErrorText);
public void SetValueAsStringCallback (Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult DefaultEvaluationResult, string Value, int Timeout, out string? ErrorText);
member this.SetValueAsStringCallback : Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult * string * int * string -> unit
Public Sub SetValueAsStringCallback (DefaultEvaluationResult As DkmEvaluationResult, Value As String, Timeout As Integer, ByRef ErrorText As String)
Parameters
- 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.