Sdílet prostřednictvím


DkmEvaluationResult.SetValueAsString(String, Int32, String) 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.

Location constraint: IDE components may call this method regardless of what type of code is being debugged. This method is also currently supported for debug monitor components, when debugging code running under the CLR; however this functionality may be removed in a future version.

public:
 void SetValueAsString(System::String ^ Value, int Timeout, [Runtime::InteropServices::Out] System::String ^ % ErrorText);
public void SetValueAsString (string Value, int Timeout, out string ErrorText);
public void SetValueAsString (string Value, int Timeout, out string? ErrorText);
member this.SetValueAsString : string * int * string -> unit
Public Sub SetValueAsString (Value As String, Timeout As Integer, ByRef ErrorText As String)

Parameters

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