Debugger5.ExecuteStatement(String, Int32, Boolean) 方法

定义

执行指定的语句。 如果 TreatAsExpression 标志为 true ,则将字符串解释为表达式,并将输出发送到 命令窗口

void ExecuteStatement(std::wstring const & Statement, int Timeout = -1, bool TreatAsExpression = true);
[System.Runtime.InteropServices.DispId(11)]
public void ExecuteStatement (string Statement, int Timeout = -1, bool TreatAsExpression = true);
[<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 = true)

参数

Statement
String

要执行的语句。

Timeout
Int32

超时时间(以毫秒为单位)。

TreatAsExpression
Boolean

true 如果要将字符串解释为表达式,则为; 否则为。否则为 false

实现

属性

适用于