Debugger4.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: EnvDTE90a
Assembly: EnvDTE90a (in EnvDTE90a.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
Debugger3.ExecuteStatement(String, Int32, Boolean)
Remarks
See ExecuteStatement.
.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.