共用方式為


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

執行指定的陳述式。 如果 TreatAsExpression 旗標為 true,則字串會解譯成運算式,而且輸出會傳送到 命令視窗

命名空間:  EnvDTE90a
組件:  EnvDTE90a (在 EnvDTE90a.dll 中)

語法

'宣告
Sub ExecuteStatement ( _
    Statement As String, _
    Timeout As Integer, _
    TreatAsExpression As Boolean _
)
void ExecuteStatement(
    string Statement,
    int Timeout,
    bool TreatAsExpression
)
void ExecuteStatement(
    [InAttribute] String^ Statement, 
    [InAttribute] int Timeout, 
    [InAttribute] bool TreatAsExpression
)
abstract ExecuteStatement : 
        Statement:string * 
        Timeout:int * 
        TreatAsExpression:bool -> unit 
function ExecuteStatement(
    Statement : String, 
    Timeout : int, 
    TreatAsExpression : boolean
)

參數

  • Timeout
    型別:System.Int32
    逾時的等待時間,以毫秒為單位。
  • TreatAsExpression
    型別:System.Boolean
    如果字串要解譯成運算式,則為 true,否則為 false。

備註

請參閱 ExecuteStatement

.NET Framework 安全性

請參閱

參考

Debugger4 介面

ExecuteStatement 多載

EnvDTE90a 命名空間