Compartir a través de


Debugger5.ExecuteStatement Method

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.

Namespace:  EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.dll)

Syntax

'Declaration
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
)

Parameters

  • Statement
    Type: String

    The statement to execute.

  • Timeout
    Type: Int32

    The timeout period, in milliseconds.

  • TreatAsExpression
    Type: Boolean

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

.NET Framework Security

See Also

Reference

Debugger5 Interface

EnvDTE100 Namespace