Sdílet prostřednictvím


DkmVisualizedExpression.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: API must be called from an IDE component (component level > 100,000).

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