Debugger5.GetExpression Method
Evaluates an expression based on the current stack frame. If the expression can be parsed but not evaluated, an object is returned but does not contain a valid value.
Namespace: EnvDTE100
Assembly: EnvDTE100 (in EnvDTE100.dll)
Syntax
'Declaration
Function GetExpression ( _
ExpressionText As String, _
UseAutoExpandRules As Boolean, _
Timeout As Integer _
) As Expression
Expression GetExpression(
string ExpressionText,
bool UseAutoExpandRules,
int Timeout
)
Expression^ GetExpression(
[InAttribute] String^ ExpressionText,
[InAttribute] bool UseAutoExpandRules,
[InAttribute] int Timeout
)
abstract GetExpression :
ExpressionText:string *
UseAutoExpandRules:bool *
Timeout:int -> Expression
function GetExpression(
ExpressionText : String,
UseAutoExpandRules : boolean,
Timeout : int
) : Expression
Parameters
ExpressionText
Type: StringThe expression text to be evaluated.
UseAutoExpandRules
Type: Booleantrue if the auto-expand rules should be used; otherwise, false.
Timeout
Type: Int32The timeout period in milliseconds.
Return Value
Type: EnvDTE.Expression
An Expression.
.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.