Freigeben über


Debugger4.ExecuteStatement(String, Int32, Boolean) Method

Definition

Executes the specified statement. If the TreatAsExpression flag is true, then the string is interpreted as an expression, and output is sent to the Command Window.

void ExecuteStatement(std::wstring const & Statement, int Timeout = -1, bool TreatAsExpression = false);
[System.Runtime.InteropServices.DispId(11)]
public void ExecuteStatement (string Statement, int Timeout = -1, bool TreatAsExpression = false);
[<System.Runtime.InteropServices.DispId(11)>]
abstract member ExecuteStatement : string * int * bool -> unit
Public Sub ExecuteStatement (Statement As String, Optional Timeout As Integer = -1, Optional TreatAsExpression As Boolean = false)

Parameters

Statement
String

The statement to execute.

Timeout
Int32

The timeout period, in milliseconds.

TreatAsExpression
Boolean

true if the string is to be interpreted as an expression; otherwise false.

Implements

Attributes

Remarks

See ExecuteStatement.

Applies to