Debugger5.ExecuteStatement Method (String, Int32, Boolean)
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: System.String
The statement to execute.
- Timeout
Type: System.Int32
The timeout period, in milliseconds.
- TreatAsExpression
Type: System.Boolean
true if the string is to be interpreted as an expression; otherwise false.
Implements
Debugger4.ExecuteStatement(String, Int32, Boolean)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.