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)

void ExecuteStatement(
	String^ Statement,
	int Timeout = -1,
	bool TreatAsExpression = false
)

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.

Return to top
Show: