Debugger5.ExecuteStatement(String, Int32, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
执行指定的语句。 如果 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 。
实现
- 属性