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: System.StringThe statement to execute.
Timeout
Type: System.Int32The timeout period, in milliseconds.
TreatAsExpression
Type: System.Booleantrue if the string is to be interpreted as an expression; otherwise false.
.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.